From c4867aa796bd2f79e20a54def882181947bf6917 Mon Sep 17 00:00:00 2001 From: Ye Yu Date: Sat, 21 Dec 2024 15:02:20 +0800 Subject: [PATCH] fix: restore showSave dependency in useEffect --- src/app/profile/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/profile/page.js b/src/app/profile/page.js index c25ef2c..456d169 100644 --- a/src/app/profile/page.js +++ b/src/app/profile/page.js @@ -207,7 +207,7 @@ export default function Profile() { setShowSave(false) } } - }, [forms, info]) + }, [forms, info, showSave]) return (