Add app backdrop
This commit is contained in:
5 files changed
+66
-5
No files matched your search
@@ -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 })),
|
||||
}));
|
||||
Reference in new issue
Block a user