From 711bc6bc30353ec75fc44a13c8080a0f361c072d Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 5 Jan 2024 00:11:06 +0800 Subject: [PATCH] add missing deps --- src/pages/workspace/reimburse/WorkspaceReimburseSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/reimburse/WorkspaceReimburseSection.js b/src/pages/workspace/reimburse/WorkspaceReimburseSection.js index bce4714870b6..00ef284c50ae 100644 --- a/src/pages/workspace/reimburse/WorkspaceReimburseSection.js +++ b/src/pages/workspace/reimburse/WorkspaceReimburseSection.js @@ -46,7 +46,7 @@ function WorkspaceReimburseSection(props) { return; } setShouldShowLoadingSpinner(isLoading); - }, [isLoading]); + }, [prevIsLoading, isLoading]); if (props.network.isOffline) { return (