From 15133286c9758254e7aa5f8362ffab5718b364f4 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Tue, 25 Nov 2025 21:51:47 +0100 Subject: [PATCH] Fix cancel button links in edit forms to redirect to /home MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update BillEditForm cancel button to redirect to /home - Update LocationEditForm cancel button to redirect to /home - Update UserSettingsForm cancel button to redirect to /home 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/ui/BillEditForm.tsx | 2 +- app/ui/LocationEditForm.tsx | 2 +- app/ui/UserSettingsForm.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ui/BillEditForm.tsx b/app/ui/BillEditForm.tsx index 0e9d7f9..7ac71d7 100644 --- a/app/ui/BillEditForm.tsx +++ b/app/ui/BillEditForm.tsx @@ -249,7 +249,7 @@ export const BillEditForm: FC = ({ location, bill }) => {
- {t("cancel-button")} + {t("cancel-button")}
diff --git a/app/ui/LocationEditForm.tsx b/app/ui/LocationEditForm.tsx index 31c4fed..00bf303 100644 --- a/app/ui/LocationEditForm.tsx +++ b/app/ui/LocationEditForm.tsx @@ -367,7 +367,7 @@ export const LocationEditForm: FC = ({ location, yearMont
- {t("cancel-button")} + {t("cancel-button")}
diff --git a/app/ui/UserSettingsForm.tsx b/app/ui/UserSettingsForm.tsx index 63b0aec..ffa3a81 100644 --- a/app/ui/UserSettingsForm.tsx +++ b/app/ui/UserSettingsForm.tsx @@ -356,7 +356,7 @@ const FormFields: FC = ({ userSettings, errors, message }) => { t("save-button") )} - + {t("cancel-button")}