Skip to content

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

fix: hide sync status for unconfirmed users

thecodrra6d0c46417a1
diff --git a/apps/web/src/components/status-bar/index.js b/apps/web/src/components/status-bar/index.js
index cccdfd76e..729b7e141 100644
--- a/apps/web/src/components/status-bar/index.js
+++ b/apps/web/src/components/status-bar/index.js
@@ -147,7 +147,9 @@ function statusToInfoText(status) {
function SyncStatus() {
const syncStatus = useAppStore((state) => state.syncStatus);
const lastSynced = useAppStore((state) => state.lastSynced);
+ const user = useUserStore((state) => state.user);
+ if (!user.isEmailConfirmed) return null;
switch (syncStatus) {
case "synced":
return (