Skip to content

Commit

Permalink
fix: change initial status on loading flowManagerStore to prevent inf…
Browse files Browse the repository at this point in the history
…inity loading (langflow-ai#2804)

🐛 (flowsManagerStore.ts): fix isLoading initial value to false to correctly reflect loading state
  • Loading branch information
Cristhianzl committed Jul 18, 2024
1 parent 5ed8d1a commit 6ee14a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/stores/flowsManagerStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const useFlowsManagerStore = create<FlowsManagerStoreType>((set, get) => ({
currentFlow: undefined,
saveLoading: false,
setSaveLoading: (saveLoading: boolean) => set({ saveLoading }),
isLoading: true,
isLoading: false,
setIsLoading: (isLoading: boolean) => set({ isLoading }),
refreshFlows: () => {
return new Promise<void>((resolve, reject) => {
Expand Down

0 comments on commit 6ee14a5

Please sign in to comment.