Skip to content

Commit cc6a941

Browse files
committed
edit
1 parent 44544ee commit cc6a941

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/react/src/modules/guide/components/Toolbar/V2

packages/react/src/modules/guide/components/Toolbar/V2/V2.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const GuidesList = ({
3838
export const V2 = () => {
3939
const { client } = useGuideContext();
4040

41-
const [guidesListDisplayed, setGuidesListDisplayed] =
41+
const [guidesListDisplayOption, setGuidesListDisplayOption] =
4242
React.useState<DisplayOption>("all-eligible");
4343

4444
const [isVisible, setIsVisible] = React.useState(detectToolbarParam());
@@ -84,8 +84,8 @@ export const V2 = () => {
8484
>
8585
<Box style={{ width: "220px" }}>
8686
<GuidesListDisplaySelect
87-
value={guidesListDisplayed}
88-
onChange={(selected) => setGuidesListDisplayed(selected)}
87+
value={guidesListDisplayOption}
88+
onChange={(opt) => setGuidesListDisplayOption(opt)}
8989
/>
9090
</Box>
9191

@@ -111,7 +111,7 @@ export const V2 = () => {
111111
{result.error && <Box>{result.error}</Box>}
112112
<GuidesList
113113
guides={result.guides}
114-
displayOption={guidesListDisplayed}
114+
displayOption={guidesListDisplayOption}
115115
/>
116116
</Box>
117117
</Stack>

0 commit comments

Comments
 (0)