Skip to content

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

fix: navigating to color routes does not unselect the previously selected route

thecodrred602e983bf7
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index 420173582..e268bacd6 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -145,6 +145,7 @@ function App() {
return (
<NavMenuItem
onSelected={async () => {
+ setSelectedIndex(-1);
setSelectedContext({ type: "color", value: color.title });
RootNavigator.navigate("color", {
title: toTitleCase(color.title),