1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: use correct asset path for texture image (#950)

This commit is contained in:
olav 2022-05-05 16:17:11 +02:00 committed by GitHub
parent 004ded8f74
commit b40a2f2bf1

View File

@ -11,6 +11,7 @@ import textureImage from 'assets/img/texture.png';
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
import { SkipNavLink } from 'component/common/SkipNav/SkipNavLink';
import { SkipNavTarget } from 'component/common/SkipNav/SkipNavTarget';
import { formatAssetPath } from 'utils/formatPath';
const useStyles = makeStyles()(theme => ({
container: {
@ -54,7 +55,7 @@ export const MainLayout = ({ children }: IMainLayoutProps) => {
</Grid>
<div style={{ overflow: 'hidden' }}>
<img
src={textureImage}
src={formatAssetPath(textureImage)}
alt=""
style={{
position: 'fixed',