Skip to content

Commit 48e46cb

Browse files
committed
fix: optimize the loading status of the query
1 parent a6bd3ce commit 48e46cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ export default function Command() {
4242
});
4343
}
4444
setVariableNames([]);
45+
} finally {
46+
setLoading(false);
4547
}
4648
};
4749

0 commit comments

Comments
 (0)