Only load when in electron

This commit is contained in:
Manav Rathi 2024-04-19 12:47:16 +05:30
parent 00173bae1e
commit 57d09c08d4
No known key found for this signature in database

View file

@ -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}