mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
fix: notebook view not opening twice
This commit is contained in:
@@ -70,6 +70,9 @@ const NotebooksContainer = props => {
|
||||
useEffect(() => {
|
||||
const NotebookNavigator = require("../navigation/navigators/nbnavigator")
|
||||
.default;
|
||||
//HOTFIX
|
||||
NotebookNavigator.history = [];
|
||||
NotebookNavigator.lastRoute = undefined;
|
||||
NotebookNavigator.navigate("notebooks");
|
||||
}, []);
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user