Skip to content

Commit

Permalink
Fix svg import errors
Browse files Browse the repository at this point in the history
This is a recommended workaround for a known bug in react-scripts v.5. See facebook/create-react-app#11770
  • Loading branch information
podliashanyk committed Apr 18, 2023
1 parent 9380491 commit 22ac904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/logo/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";

import DarkLogo from "../../Media/img/logo/logo_dark.svg";
import WhiteLogo from "../../Media/img/logo/logo_white.svg";
import DarkLogo from "!file-loader!../../Media/img/logo/logo_dark.svg";
import WhiteLogo from "!file-loader!../../Media/img/logo/logo_white.svg";

type LogoPropsType = {
dark?: boolean;
Expand Down

0 comments on commit 22ac904

Please sign in to comment.