Add app backdrop

This commit is contained in:
Prayag Prajapati committed 2023-08-14 18:58:59 +05:30
1 parent c568cf2be4
commit 73085f736f
5 files changed
+66 -5

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/** @format */
import { create } from "zustand";
export const useBackdropStore = create((set) => ({
backdropUrl: "",
backdropId: "",
setBackdrop: (url, id) =>
set((state) => ({ backdropUrl: url, backdropId: id })),
}));