import { AnimatePresence, motion } from "motion/react"; import React from "react"; import { useShallow } from "zustand/shallow"; import { useBackdropStore } from "@/utils/store/backdrop"; import BlurhashCanvas from "../blurhash-canvas"; export default function Backdrop() { // const [backdropLoading, setBackdropLoading] = useState(true); const { backdropHash } = useBackdropStore( useShallow((state) => ({ backdropHash: state.backdropHash, })), ); if (!backdropHash) { return null; } return ( ); }