import { create } from "zustand";

type AlarmStore = {
	countOfAlarmScopes: number;
	setCountOfAlarmScopes: (count: number) => void;
};

export const useAlarmStore = create<AlarmStore>((set) => ({
	countOfAlarmScopes: 0,
	setCountOfAlarmScopes: (count: number) =>
		set({ countOfAlarmScopes: count }),
}));
