Skip to content

Commit

Permalink
Directions: Fix mobile directions bug (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik authored Dec 2, 2024
1 parent 3bf233a commit 02bcd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Directions/DirectionsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Wrapper = styled(Stack)<{ $isMobileMode: boolean }>`

export const DirectionsBox = () => {
const isMobileMode = useMobileMode();
const [revealed, revealForm, hide] = useBoolState(false); // mobile only
const [revealed, revealForm, hide] = useBoolState(true); // mobile only
const hideForm = isMobileMode && result && !revealed;

const { setResult } = useDirectionsContext();
Expand Down

0 comments on commit 02bcd37

Please sign in to comment.