mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: fix error in shortcut manager
This commit is contained in:
committed by
Abdullah Atta
parent
58a6bbd262
commit
85e046a379
@@ -97,7 +97,7 @@ const _TabsHolder = () => {
|
||||
tabBarRef.current?.goToPage(1, false);
|
||||
return;
|
||||
}
|
||||
if (item.type === "notesnook.action.newnote") {
|
||||
if (item && item.type === "notesnook.action.newnote") {
|
||||
clearAppState();
|
||||
if (!tabBarRef.current) {
|
||||
await sleep(3000);
|
||||
|
||||
Reference in New Issue
Block a user