mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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';
|
import { createContextualStore } from '../core/zustand/createContextualStore';
|
||||||
|
|
||||||
interface GalleryEphemeral {
|
interface GalleryEphemeral {
|
||||||
searching: boolean;
|
|
||||||
search?: string;
|
search?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const GalleryEphemeral = createContextualStore(() => {
|
export const GalleryEphemeral = createContextualStore(() => {
|
||||||
return create<GalleryEphemeral>()(
|
return create<GalleryEphemeral>()(
|
||||||
subscribeWithSelector<GalleryEphemeral>(() => ({
|
subscribeWithSelector<GalleryEphemeral>(() => ({})),
|
||||||
searching: false,
|
|
||||||
})),
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
Reference in new issue
Block a user