Fixed import bug

This commit is contained in:
Camerin Figueroa 2024-07-23 09:19:00 -04:00
parent 2cfb2a541c
commit c1e331e2c8
1 changed files with 2 additions and 2 deletions

View File

@ -3,13 +3,13 @@ import { createRoot } from 'react-dom/client';
import { Provider } from 'react-redux';
import { applyMiddleware, compose } from 'redux';
import { configureStore } from '@reduxjs/toolkit'
import reduxThunk from 'redux-thunk';
import {thunk} from 'redux-thunk';
import App from './components/App';
import reducers from './reducers';
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = configureStore({reducer: reducers}, composeEnhancers(applyMiddleware(reduxThunk)));
const store = configureStore({reducer: reducers}, composeEnhancers(applyMiddleware(thunk)));
const container = document.getElementById('root');
createRoot(container).render(