Skip to content

Commit

Permalink
designed
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemir123 committed Nov 15, 2022
1 parent 211cc1a commit e5277b2
Show file tree
Hide file tree
Showing 15 changed files with 4,990 additions and 12 deletions.
209 changes: 209 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"react-redux": "^8.0.5",
"react-router-dom": "6.3",
"react-scripts": "5.0.1",
"react-toastify": "^9.1.1",
"redux": "^4.2.0",
"tw-elements": "^1.0.0-alpha12",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
13 changes: 10 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import { Provider } from "react-redux";
import { ToastContainer } from "react-toastify";
import { store } from "./app/store";

import AppRouter from "./router/AppRouter";


function App() {

return (
<div className="App">

</div>
<Provider store={store}>
<AppRouter />
<ToastContainer/>
</Provider>
);
}

Expand Down
9 changes: 9 additions & 0 deletions src/app/store.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { configureStore} from "@reduxjs/toolkit";
import authReducer from "../features/authSlice"

export const store =configureStore({
reducer:{
auth:authReducer,

}
})
Loading

0 comments on commit e5277b2

Please sign in to comment.