Only load when in electron
This commit is contained in:
parent
00173bae1e
commit
57d09c08d4
1 changed files with 6 additions and 1 deletions
|
@ -206,7 +206,12 @@ export default function UtilitySection({ closeSidebar }) {
|
|||
closeSidebar={closeSidebar}
|
||||
setLoading={startLoading}
|
||||
/>
|
||||
<WatchFolder open={watchFolderView} onClose={closeWatchFolder} />
|
||||
{isElectron() && (
|
||||
<WatchFolder
|
||||
open={watchFolderView}
|
||||
onClose={closeWatchFolder}
|
||||
/>
|
||||
)}
|
||||
<Preferences
|
||||
open={preferencesView}
|
||||
onClose={closePreferencesOptions}
|
||||
|
|
Loading…
Add table
Reference in a new issue