mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-27 14:11:50 +00:00
Do not inject components into other components
This commit is contained in:
@@ -2,6 +2,7 @@ import { createRoot } from 'react-dom/client';
|
||||
import { Provider } from 'react-redux';
|
||||
import { BrowserRouter } from 'react-router';
|
||||
import pack from '../package.json';
|
||||
import { App } from './app/App';
|
||||
import { appUpdateAvailable } from './app/reducers/appUpdates';
|
||||
import { ErrorHandler } from './common/ErrorHandler';
|
||||
import { ScrollToTop } from './common/ScrollToTop';
|
||||
@@ -12,7 +13,6 @@ import { setUpStore } from './store';
|
||||
import './tailwind.css';
|
||||
|
||||
const store = setUpStore();
|
||||
const { App } = container;
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<ContainerProvider value={container}>
|
||||
|
||||
Reference in New Issue
Block a user