We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da91ec commit ca6b11eCopy full SHA for ca6b11e
apps/agent-tars/src/renderer/src/hooks/useFileSystemSettings.ts
@@ -1,10 +1,14 @@
1
import { useEffect, useState } from 'react';
2
import { ipcClient } from '@renderer/api';
3
+import { isReportHtmlMode } from '@renderer/constants';
4
5
export function useFileSystemSettings() {
6
const [initialized, setInitialized] = useState(false);
7
8
useEffect(() => {
9
+ if (isReportHtmlMode) {
10
+ return;
11
+ }
12
async function initFileSystemSettings() {
13
try {
14
// Get current allowed directories from main process
0 commit comments