This commit is contained in:
Alex Holliday committed 2025-12-08 21:40:04 +00:00
1 parent 4525f8035b
commit a3f7ac8ae3
5 files changed
+12 -7

No files matched your search

+2 -1
View File
@@ -20,7 +20,7 @@ const TeamsPage = () => {
const isDialogOpen = Boolean(selectedTeam);
const { t } = useTranslation();
const { response, loading, refetch } = useGet<ApiResponse<any>>("/teams");
const { deleteFn } = useDelete();
const { deleteFn, loading: isDeleting } = useDelete();
const teams = response?.data || [];
const handleConfirm = async () => {
@@ -109,6 +109,7 @@ const TeamsPage = () => {
content={t("deleteDialogDescription")}
onConfirm={handleConfirm}
onCancel={handleCancel}
loading={isDeleting}
/>
</BasePage>
);