feat: add new search dialog

This commit is contained in:
--remove-section committed 2026-01-17 19:30:43 +05:30
1 parent cf1f3c772d
commit 79c70e6d46
17 files changed
+751 -7

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { create } from "zustand";
type SearchStore = {
showSearchDialog: boolean;
toggleSearchDialog: () => void;
};
const useSearchStore = create<SearchStore>((set) => ({
showSearchDialog: false,
toggleSearchDialog: () =>
set((state) => ({ showSearchDialog: !state.showSearchDialog })),
}));
export default useSearchStore;