@@ -108,14 +164,19 @@ export function MobilePageHeader({
);
}
-export function MobilePageTitle({
- children,
+type MobilePageTitleProps = React.HTMLAttributes
;
+
+export function MobilePageTitle({ className, ...props }: MobilePageTitleProps) {
+ return ;
+}
+
+type MobilePageDescriptionProps = React.HTMLAttributes;
+
+export function MobilePageDescription({
className,
...props
-}: MobileComponentProps) {
+}: MobilePageDescriptionProps) {
return (
-
- {children}
-
+
);
}
diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx
index 47af3e309..37813645b 100644
--- a/web/src/components/overlay/detail/SearchDetailDialog.tsx
+++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx
@@ -150,7 +150,14 @@ export default function SearchDetailDialog({
const Description = isDesktop ? DialogDescription : MobilePageDescription;
return (
- setIsOpen(!isOpen)}>
+ {
+ if (search) {
+ setSearch(undefined);
+ }
+ }}
+ >
- onOpenChange(true)}>{trigger}
-
+
+ onOpenChange(true)}>
+ {trigger}
+
+
{content}
-
-
+
+
);
}