mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
web: freeze unhydrated sessions
This commit is contained in:
@@ -93,8 +93,11 @@ export default function TabsView() {
|
||||
<>
|
||||
<EditorActionBar />
|
||||
{sessions.map((session) => (
|
||||
<Freeze key={session.id} freeze={session.id !== activeSessionId}>
|
||||
{session.needsHydration ? null : session.type === "locked" ? (
|
||||
<Freeze
|
||||
key={session.id}
|
||||
freeze={session.needsHydration || session.id !== activeSessionId}
|
||||
>
|
||||
{session.type === "locked" ? (
|
||||
<UnlockView
|
||||
buttonTitle="Open note"
|
||||
subtitle="Please enter the password to unlock this note."
|
||||
|
||||
Reference in New Issue
Block a user