feat: remember last search query

This commit is contained in:
Prayag Prajapati committed 2024-08-02 09:10:07 +05:30
1 parent 7a2e4ae595
commit 38ba7040a5
10 files changed
+125 -86

No files matched your search

@@ -267,7 +267,12 @@ const AudioPlayer = () => {
initial={{
transform: "translateY(100%)",
}}
animate={{ transform: "translateY(0)" }}
animate={{
transform:
location.pathname === "/player/audio"
? "translateY(100%)"
: "translateY(0%)",
}}
exit={{
transform: "translateY(100%)",
}}