We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37d954 commit 7f37ea2Copy full SHA for 7f37ea2
src/components/CategoryTabPicker.tsx
@@ -40,7 +40,7 @@ export const CategoryTabPicker: React.FC<CategoryTabPickerProps> = ({ tabColor }
40
}, [tabColor, categorySearchParam]);
41
42
return (
43
- <TabProvider>
+ <TabProvider selectedId={categorySearchParam}>
44
<TabList className="tab-picker" aria-label="Select train age" ref={wrapperRef}>
45
<div className="selected-indicator" ref={selectedIndicatorRef} />
46
0 commit comments