fix: set loading false if there is no flowName

This commit is contained in:
Rıdvan Akca
2024-04-05 13:34:07 +02:00
parent a0160c2573
commit 5c29fff55e
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ export default function Flows() {
const { data, mutate } = useLazyFlows(
{ flowName, page },
{
onSuccess: () => {
onSettled: () => {
setIsLoading(false);
},
},