feat: upgrade Gallery

This commit is contained in:
TrèsAbhi committed 2025-09-01 22:58:26 -05:00
1 parent 96482d4268
commit d33990bdb4
5 files changed
+37 -47

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { Varuna } from "varuna";
interface Gallery {
search?: string;
}
export const Gallery = new Varuna<Gallery>({});
@@ -1,13 +0,0 @@
import { create } from 'zustand';
import { subscribeWithSelector } from 'zustand/middleware';
import { createContextualStore } from '../core/zustand/createContextualStore';
interface GalleryEphemeral {
search?: string;
}
export const GalleryEphemeral = createContextualStore(() => {
return create<GalleryEphemeral>()(
subscribeWithSelector<GalleryEphemeral>(() => ({})),
);
});