Skip to content

Commit 7f37ea2

Browse files
authored
respect query param styling on mobile (#267)
1 parent b37d954 commit 7f37ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CategoryTabPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const CategoryTabPicker: React.FC<CategoryTabPickerProps> = ({ tabColor }
4040
}, [tabColor, categorySearchParam]);
4141

4242
return (
43-
<TabProvider>
43+
<TabProvider selectedId={categorySearchParam}>
4444
<TabList className="tab-picker" aria-label="Select train age" ref={wrapperRef}>
4545
<div className="selected-indicator" ref={selectedIndicatorRef} />
4646

0 commit comments

Comments
 (0)