global __webpack_public_path__

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-08-12 00:05:30 +03:00
parent 65216843ac
commit cb3629bd43
2 changed files with 18 additions and 18 deletions

2
index.d.ts vendored
View File

@ -2,3 +2,5 @@ declare module '*.svg' {
const src: string; const src: string;
export default src; export default src;
} }
declare const __webpack_public_path__: string;

View File

@ -10,8 +10,7 @@ import { Dashboard } from './dashboard';
dayjs.locale('ru', ruLocale); dayjs.locale('ru', ruLocale);
const App = ({ store }) => { const App = ({ store }) => (
return(
<ChakraProvider> <ChakraProvider>
<BrowserRouter> <BrowserRouter>
<Helmet> <Helmet>
@ -80,8 +79,7 @@ const App = ({ store }) => {
<Dashboard store={store} /> <Dashboard store={store} />
</BrowserRouter> </BrowserRouter>
</ChakraProvider> </ChakraProvider>
) )
}
export default App; export default App;