Add local state for managing workflows

This commit is contained in:
2026-06-15 15:18:23 +02:00
parent 9122f82161
commit 7fbd3ed3c7

View File

@@ -71,6 +71,7 @@ export default function App() {
const [isCreatingLibrary, setIsCreatingLibrary] = useState(false)
const [newLibraryName, setNewLibraryName] = useState('')
const [libraryCreateError, setLibraryCreateError] = useState('')
const [workflows, setWorkflows] = useState([])
const {
chatLibrary,
chatLibrarySlug,
@@ -136,7 +137,6 @@ export default function App() {
}, [searxEngines]);
const [webSearchEnabled, setWebSearchEnabled] = useState(false);
const [isSending, setIsSending] = useState(false);
const [workflows, setWorkflows] = useState([])
const [workflowExecutions, setWorkflowExecutions] = useState({})
const [pendingWorkflowConfirmation, setPendingWorkflowConfirmation] = useState(null)
const {