Skip to content

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

web: only show sync status in placeholder on first sync

Abdullah Atta197ff36c2015
diff --git a/apps/web/src/components/placeholders/index.tsx b/apps/web/src/components/placeholders/index.tsx
index 6df137ac6..e302e962b 100644
--- a/apps/web/src/components/placeholders/index.tsx
+++ b/apps/web/src/components/placeholders/index.tsx
@@ -28,8 +28,9 @@ function Placeholder(props: PlaceholderProps) {
const { context, text } = props;
const tip = useTip(context);
const syncStatus = useAppStore((store) => store.syncStatus);
+ const isFirstSync = useAppStore((store) => store.lastSynced === 0);
- if (syncStatus.key === "syncing" && context === "notes") {
+ if (isFirstSync && syncStatus.key === "syncing" && context === "notes") {
return (
<Flex
variant="columnCenter"