mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: remove searching
This commit is contained in:
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>(() => ({})),
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user