Skip to content

Commit

Permalink
Other modern cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jul 31, 2022
1 parent 25eaee5 commit 24e927d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .eslintignore
@@ -1,5 +1,4 @@
web/simple/app.js
web/app.min.js
web/load.js
web/modern
web/lib
4 changes: 1 addition & 3 deletions modern/src/index.js
Expand Up @@ -16,8 +16,6 @@ import ServerProvider from './ServerProvider';

preloadImages();

const base = window.location.href.indexOf('modern') >= 0 ? '/modern' : '/';

ReactDOM.render(
(
<Provider store={store}>
Expand All @@ -26,7 +24,7 @@ ReactDOM.render(
<ThemeProvider theme={theme}>
<CssBaseline />
<ServerProvider>
<BrowserRouter basename={base}>
<BrowserRouter>
<Navigation />
</BrowserRouter>
</ServerProvider>
Expand Down
2 changes: 1 addition & 1 deletion tools/package.sh
Expand Up @@ -9,6 +9,6 @@ npm run build

cd modern

rm -rf ../web/modern
rm -rf build
npm ci
npm run build

0 comments on commit 24e927d

Please sign in to comment.