diff --git a/src/App/App.js b/src/App/App.js index fb8ad8217..86ef2b1c2 100644 --- a/src/App/App.js +++ b/src/App/App.js @@ -2,7 +2,7 @@ const React = require('react'); const { Router } = require('stremio-router'); const { KeyboardNavigation, ServicesProvider } = require('stremio/services'); const routerViewsConfig = require('./routerViewsConfig'); -require('./styles'); +const styles = require('./styles'); const App = () => { const onPathNotMatch = React.useCallback(() => { @@ -18,6 +18,7 @@ const App = () => { { - if (context.resourcePath.startsWith(path.resolve(__dirname, 'src/routes')) || - context.resourcePath.startsWith(path.resolve(__dirname, 'src/App'))) { + if (context.resourcePath.startsWith(path.resolve(__dirname, 'src/routes'))) { localIdentName = '[local]'; } else { localIdentName = '[local]-[hash:base64:5]';