From 4e31586026a11648212b7efc59466f791f039b6e Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Tue, 2 Dec 2025 11:43:20 +0800 Subject: [PATCH] fix infinite loading on category page --- src/pages/iou/request/step/IOURequestStepCategory.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/step/IOURequestStepCategory.tsx b/src/pages/iou/request/step/IOURequestStepCategory.tsx index 775218051a8a..67fe9bc708a4 100644 --- a/src/pages/iou/request/step/IOURequestStepCategory.tsx +++ b/src/pages/iou/request/step/IOURequestStepCategory.tsx @@ -112,7 +112,7 @@ function IOURequestStepCategory({ useEffect(() => { fetchData(); // eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps - }, []); + }, [policyID]); const navigateBack = () => { Navigation.goBack(backTo);