*/}
- {/* {
+ {
isDesktop ?
diff --git a/components/streetView/FloodingButton.tsx b/components/streetView/FloodingButton.tsx
index a58b649..dff46e5 100644
--- a/components/streetView/FloodingButton.tsx
+++ b/components/streetView/FloodingButton.tsx
@@ -14,13 +14,13 @@ type Props = {
const FloodingButton = ({ clicked, hovered, title, src, clickHandler, mouseEnterHandler, mouseLeaveHandler }: Props) => {
- const isDesktop = useMediaQuery({ query: "(min-width: 1024px)" })
+ const isTablet = useMediaQuery({ query: "(min-width: 768px)" })
return (
{/*
*/}
- {isDesktop &&
{title}
}
+ {isTablet &&
{title}
}
)
}
diff --git a/components/streetView/StreetView.tsx b/components/streetView/StreetView.tsx
index 1ef4493..a8b5457 100644
--- a/components/streetView/StreetView.tsx
+++ b/components/streetView/StreetView.tsx
@@ -135,7 +135,7 @@ const StreetView = () => {