chore: format project automatically before starting dev server

This commit is contained in:
2026-09-16 14:14:04 +03:30
parent 7c55b3916c
commit 812029fe84
66 changed files with 2088 additions and 1125 deletions
+8 -8
View File
@@ -1,16 +1,16 @@
import { configureStore } from '@reduxjs/toolkit';
import {configureStore} from '@reduxjs/toolkit';
import cartReducer from './cartSlice';
export const makeStore = () =>
configureStore({
reducer: {
cart: cartReducer,
},
});
configureStore({
reducer: {
cart: cartReducer,
},
});
// Singleton store for the client (App Router renders providers on the client tree).
export const store = makeStore();
export type AppStore = ReturnType<typeof makeStore>;
export type RootState = ReturnType<AppStore["getState"]>;
export type AppDispatch = AppStore["dispatch"];
export type RootState = ReturnType<AppStore['getState']>;
export type AppDispatch = AppStore['dispatch'];