diff --git a/src/frontend/src/modals/IOModal/components/chatView/index.tsx b/src/frontend/src/modals/IOModal/components/chatView/index.tsx index 736d21a6f..3c3ae0fbf 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/index.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/index.tsx @@ -86,7 +86,6 @@ export default function ChatView({ }; } catch (e) { console.error(e); - debugger; return { isSend: false, message: "Error parsing message", diff --git a/src/frontend/src/stores/foldersStore.tsx b/src/frontend/src/stores/foldersStore.tsx index e72610987..b7299d192 100644 --- a/src/frontend/src/stores/foldersStore.tsx +++ b/src/frontend/src/stores/foldersStore.tsx @@ -16,11 +16,11 @@ export const useFolderStore = create((set, get) => ({ get().setLoading(true); getFolders().then( (res) => { - const foldersWithoutStarterProjects = res.filter( + const foldersWithoutStarterProjects = res?.filter( (folder) => folder.name !== STARTER_FOLDER_NAME, ); - const starterProjects = res.find( + const starterProjects = res?.find( (folder) => folder.name === STARTER_FOLDER_NAME, );