Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: favorites nav item not selecting

thecodrr057631ae4cac
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 4b0541756..69098dddf 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -142,6 +142,7 @@ function App() {
return;
}
if (item.onClick) {
+ setSelectedKey(item.key);
return item.onClick();
}
if (RootNavigator.navigate(item.key)) {