Skip to content

Commit

Permalink
feat : zustand BoundStore 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesung99 committed Jan 19, 2024
1 parent 66723e0 commit b904cd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/store/useBoundStore.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { create } from 'zustand';

import { FormOptionSlice, createFormOptionSlice } from './createFormOptionSlice';

type BoundStore = FormOptionSlice;

export const useBoundStore = create<BoundStore>()((...args) => ({
...createFormOptionSlice(...args),
}));

0 comments on commit b904cd9

Please sign in to comment.