mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix experimental layout app icon url
This commit is contained in:
parent
94f4ebc1d1
commit
0d6629fdab
2 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,7 @@ import Typography from '@mui/material/Typography';
|
||||||
import React, { FC } from 'react';
|
import React, { FC } from 'react';
|
||||||
import { Link, useLocation } from 'react-router-dom';
|
import { Link, useLocation } from 'react-router-dom';
|
||||||
|
|
||||||
|
import appIcon from 'assets/img/icon-transparent.png';
|
||||||
import { useApi } from 'hooks/useApi';
|
import { useApi } from 'hooks/useApi';
|
||||||
import globalize from 'scripts/globalize';
|
import globalize from 'scripts/globalize';
|
||||||
|
|
||||||
|
@ -72,7 +73,7 @@ const AppToolbar: FC<AppToolbarProps> = ({
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
component='img'
|
component='img'
|
||||||
src='/assets/img/icon-transparent.png'
|
src={appIcon}
|
||||||
sx={{
|
sx={{
|
||||||
height: '2rem',
|
height: '2rem',
|
||||||
marginInlineEnd: 1
|
marginInlineEnd: 1
|
||||||
|
|
4
src/index.d.ts
vendored
Normal file
4
src/index.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
declare module '*.png' {
|
||||||
|
const value: any;
|
||||||
|
export = value;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue