fix: address CodeQL and code quality review comments

Replace polynomial trailing-slash regex with removeTrailingSlash helper
and remove unused ModalFormFooter import in quick-add-app modal.
This commit is contained in:
Thomas Camlong committed 2026-05-29 14:54:39 +02:00
1 parent 28f31243fb
commit 1c9a63d9ef
5 files changed
+13 -6

No files matched your search

@@ -3,7 +3,7 @@ import type { z } from "zod/v4";
import type { RouterOutputs } from "@homarr/api";
import { clientApi } from "@homarr/api/client";
import { AppForm } from "@homarr/forms-collection";
import { createModal, ModalFormFooter, modalSizeForm } from "@homarr/modals";
import { createModal, modalSizeForm } from "@homarr/modals";
import { showErrorNotification, showSuccessNotification } from "@homarr/notifications";
import { useI18n, useScopedI18n } from "@homarr/translation/client";
import type { appManageSchema } from "@homarr/validation/app";