always load logo correctly no matter the route

This commit is contained in:
Collin M. Barrett 2019-08-25 09:20:50 -05:00
parent 6d430168db
commit 15ddb5f32d

View file

@ -28,7 +28,7 @@ export const App: React.FC = () =>
</BrowserRouter>;
const Logo = (): JSX.Element =>
<img src="logo_filterlists.png"
<img src={`${process.env.PUBLIC_URL}/logo_filterlists.png`}
alt="FilterLists logo"
height="44px"
style={{ background: '#fff' }} />;