Skip to content

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

web: fix temporary tabs cannot be made permanent

Abdullah Attaf60fcefd1c4a
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx
index 584a10f5e..47236443d 100644
--- a/apps/web/src/components/editor/action-bar.tsx
+++ b/apps/web/src/components/editor/action-bar.tsx
@@ -210,7 +210,7 @@ function TabStrip() {
.updateSession(
session.id,
[session.type],
- (s) => (s.preview = true)
+ (s) => (s.preview = false)
)
}
onFocus={() => {