mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 18:03:47 +00:00
9e04a1dcfa
--------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Co-authored-by: Carlos Valente <carlosvalente@pm.me>
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import { create } from 'zustand';
|
|
|
|
type EntryCopyStore = {
|
|
entryCopyId: string | null;
|
|
setEntryCopyId: (eventId: string | null) => void;
|
|
};
|
|
|
|
export const useEntryCopy = create<EntryCopyStore>()((set) => ({
|
|
entryCopyId: null,
|
|
setEntryCopyId: (entryCopyId: string | null) => set({ entryCopyId }),
|
|
}));
|