Fix page changing
This commit is contained in:
parent
70c025e6d2
commit
76831567da
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export default function PagePanel(): JSX.Element {
|
||||||
<MenuContent as={DropdownMenu.Content} sideOffset={8}>
|
<MenuContent as={DropdownMenu.Content} sideOffset={8}>
|
||||||
<DropdownMenu.RadioGroup
|
<DropdownMenu.RadioGroup
|
||||||
value={currentPageId}
|
value={currentPageId}
|
||||||
onChange={(id) => {
|
onValueChange={(id) => {
|
||||||
setIsOpen(false)
|
setIsOpen(false)
|
||||||
state.send('CHANGED_PAGE', { id })
|
state.send('CHANGED_PAGE', { id })
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue