Skip to content

Commit

Permalink
refactor: client side code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vit718 committed Jul 13, 2023
1 parent 9b89d05 commit 20ede66
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 281 deletions.
248 changes: 231 additions & 17 deletions client/package-lock.json

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"axios": "^1.4.0",
"formik": "^2.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.5.2",
"react-helmet": "^6.1.0",
"react-icons": "^4.8.0",
"react-image-zoom": "^1.3.1",
"react-rating-stars-component": "^2.2.0",
"react-redux": "^8.0.5",
"react-redux": "^8.1.1",
"react-router-dom": "^6.11.1",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
"web-vitals": "^2.1.4",
"yup": "^1.2.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
7 changes: 2 additions & 5 deletions client/src/app/store.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { configureStore } from '@reduxjs/toolkit';
import counterReducer from '../features/counter/counterSlice';
import { configureStore } from "@reduxjs/toolkit";

export const store = configureStore({
reducer: {
counter: counterReducer,
},
reducer: {},
});
67 changes: 0 additions & 67 deletions client/src/features/counter/Counter.js

This file was deleted.

78 changes: 0 additions & 78 deletions client/src/features/counter/Counter.module.css

This file was deleted.

6 changes: 0 additions & 6 deletions client/src/features/counter/counterAPI.js

This file was deleted.

73 changes: 0 additions & 73 deletions client/src/features/counter/counterSlice.js

This file was deleted.

33 changes: 0 additions & 33 deletions client/src/features/counter/counterSlice.spec.js

This file was deleted.

0 comments on commit 20ede66

Please sign in to comment.