Skip to content

Commit f4dbca3

Browse files
committed
made changes to RTKslices apparently
1 parent f34552e commit f4dbca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/RTKslices.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const mainSlice = createSlice({
6565

6666
},
6767
addNewSnapshots: (state, action) => {
68-
console.log('addNewSnapshots: ', state);
68+
console.log('addNewSnapshots: ', current(state));
6969
const { tabs } = state;
7070

7171
const { payload } = action;
@@ -94,7 +94,7 @@ export const mainSlice = createSlice({
9494
};
9595
}
9696
});
97-
console.log('addNewSnapshots: state end ', state);
97+
console.log('addNewSnapshots: state end ', current(state));
9898

9999
},
100100
initialConnect: (state, action) => {

0 commit comments

Comments
 (0)