fix: remove searching

This commit is contained in:
TrèsAbhi committed 2024-10-24 17:53:47 -05:00
1 parent a28d6c49da
commit 05c8e50e82
1 file changed
+1 -4
@@ -3,14 +3,11 @@ import { subscribeWithSelector } from 'zustand/middleware';
import { createContextualStore } from '../core/zustand/createContextualStore';
interface GalleryEphemeral {
searching: boolean;
search?: string;
}
export const GalleryEphemeral = createContextualStore(() => {
return create<GalleryEphemeral>()(
subscribeWithSelector<GalleryEphemeral>(() => ({
searching: false,
})),
subscribeWithSelector<GalleryEphemeral>(() => ({})),
);
});