FIX: Close the sheet list menu when a sheet is selected
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
39174add1f
commit
15da2e5785
@@ -81,7 +81,10 @@ function Navigation(props: NavigationProps) {
|
||||
isOpen={open}
|
||||
close={handleClose}
|
||||
sheetOptionsList={sheets}
|
||||
onSheetSelected={onSheetSelected}
|
||||
onSheetSelected={(index) => {
|
||||
onSheetSelected(index);
|
||||
handleClose();
|
||||
}}
|
||||
/>
|
||||
</Container>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user