Skip to content

Commit 6485af8

Browse files
committed
Transfers: fixed crashes when swiching to transfers
This was introduced by previous commit
1 parent 7a8f8ac commit 6485af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ const App = observer(() => {
304304
{splitView && <SideView viewState={views[1]} hide={!isExplorer} />}
305305
<Downloads hide={isExplorer} />
306306
</div>
307-
{cache.cursor && <PreviewDialog />}
307+
{cache?.cursor && <PreviewDialog />}
308308
</React.Fragment>
309309
</Provider>
310310
)

0 commit comments

Comments
 (0)