Skip to content

Commit 4292262

Browse files
committed
fix(editor): open linked notes in new tab instead of replacing current
1 parent 47ea7ea commit 4292262

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/folders/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default function FolderPanel({
219219
</div>
220220
<div className="text-muted-foreground flex items-center gap-2 text-sm">
221221
<span className="text-xs opacity-80">
222-
Typelets v{APP_VERSION}.beta
222+
Typelets v{APP_VERSION}
223223
</span>
224224
</div>
225225
</div>

src/components/layout/MainLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export default function MainLayout() {
401401
hidingNote,
402402
onUnhideNote: unhideNote,
403403
onRefreshNote: handleRefreshNote,
404-
onSelectNote: setSelectedNote, // For navigating to linked notes
404+
onSelectNote: handleSelectNote, // For navigating to linked notes (opens in new tab)
405405
userId,
406406
isNotesPanelOpen: filesPanelOpen,
407407
onToggleNotesPanel: handleToggleNotesPanel,

0 commit comments

Comments
 (0)