mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
fix build issue
This commit is contained in:
parent
eaab438666
commit
1f58c1f6cb
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ export function SuggestedTopicsView({ onExploreTopic }: SuggestedTopicsViewProps
|
|||
// Try next legacy location.
|
||||
}
|
||||
}
|
||||
if (!legacyResult || !legacyPath) {
|
||||
if (!legacyResult || !legacyPath || legacyResult.data === undefined) {
|
||||
throw new Error('Suggested topics file not found')
|
||||
}
|
||||
await window.ipc.invoke('workspace:writeFile', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue