From 9a8757ba05be8e43dbe7bc03bbf95f61ca0fd3bf Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Fri, 2 Feb 2024 16:28:50 +0900 Subject: [PATCH] chore: add a newline for readability --- .../Changes/Change/StrategyChangeOverwriteWarning.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChangeOverwriteWarning.tsx b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChangeOverwriteWarning.tsx index 7a83d5bbd6..8c6bf2ae42 100644 --- a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChangeOverwriteWarning.tsx +++ b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/StrategyChangeOverwriteWarning.tsx @@ -80,6 +80,7 @@ export const ChangesToOverwrite: React.FC<{ : null; const { registerWillOverwriteStrategyChanges } = useChangeRequestPlausibleContext(); + useEffect(() => { if (changesThatWouldBeOverwritten) { registerWillOverwriteStrategyChanges();