From 0d6fa50bc3b95d1f0478cceecdc633ebda096aac Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 1 Jun 2025 22:29:07 +0100 Subject: [PATCH] fix: show warning icon for delete member popup --- .../views/members/components/DeleteMemberConfirmation.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/views/members/components/DeleteMemberConfirmation.tsx b/apps/web/src/views/members/components/DeleteMemberConfirmation.tsx index b4ef19d9..cbd44719 100644 --- a/apps/web/src/views/members/components/DeleteMemberConfirmation.tsx +++ b/apps/web/src/views/members/components/DeleteMemberConfirmation.tsx @@ -1,9 +1,8 @@ -import { api } from "~/utils/api"; +import Button from "~/components/Button"; import { useModal } from "~/providers/modal"; import { usePopup } from "~/providers/popup"; import { useWorkspace } from "~/providers/workspace"; - -import Button from "~/components/Button"; +import { api } from "~/utils/api"; export function DeleteMemberConfirmation() { const utils = api.useUtils(); @@ -24,6 +23,7 @@ export function DeleteMemberConfirmation() { showPopup({ header: "Unable to remove member", message: "Please try again later, or contact customer support.", + icon: "error", }); closeModal(); },