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 { Link, useLocation } from 'react-router-dom';
|
||||
|
||||
import appIcon from 'assets/img/icon-transparent.png';
|
||||
import { useApi } from 'hooks/useApi';
|
||||
import globalize from 'scripts/globalize';
|
||||
|
||||
|
@ -72,7 +73,7 @@ const AppToolbar: FC<AppToolbarProps> = ({
|
|||
>
|
||||
<Box
|
||||
component='img'
|
||||
src='/assets/img/icon-transparent.png'
|
||||
src={appIcon}
|
||||
sx={{
|
||||
height: '2rem',
|
||||
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