Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebubekir-Tas committed Jul 10, 2024
1 parent da75939 commit faa23c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/04_immer/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { createSliceWithImmer } from 'zustand-slices/immer';
const countSlice = createSliceWithImmer({
name: 'count',
value: {
count: 0
count: 0,
},
actions: {
inc: () => (state) => {
state.count += 1;
},
reset: () => () => ({ count: 0 }),
},
},
});

const textSlice = createSliceWithImmer({
Expand Down

0 comments on commit faa23c5

Please sign in to comment.