feat: remember last search query
This commit is contained in:
10 files changed
+125
-86
No files matched your search
@@ -14,7 +14,7 @@ export const EmptyNotice = ({ extraMsg }) => {
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
flexFlow: "column",
|
||||
position: "absolute",
|
||||
position: "static",
|
||||
top: 0,
|
||||
left: 0,
|
||||
}}
|
||||
|
||||
@@ -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%)",
|
||||
}}
|
||||
|
||||
@@ -9,7 +9,7 @@ const TagChip = ({
|
||||
linkProps,
|
||||
}: { label: string; linkProps: LinkProps }) => {
|
||||
return (
|
||||
<Link className="tag" {...linkProps}>
|
||||
<Link className="tag" to="/search" search={{ query: label }} {...linkProps}>
|
||||
<Typography variant="subtitle2" fontWeight={300}>
|
||||
{label}
|
||||
</Typography>
|
||||
|
||||
Reference in new issue
Block a user