fix: show warning icon for delete member popup
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
import { api } from "~/utils/api";
|
import Button from "~/components/Button";
|
||||||
import { useModal } from "~/providers/modal";
|
import { useModal } from "~/providers/modal";
|
||||||
import { usePopup } from "~/providers/popup";
|
import { usePopup } from "~/providers/popup";
|
||||||
import { useWorkspace } from "~/providers/workspace";
|
import { useWorkspace } from "~/providers/workspace";
|
||||||
|
import { api } from "~/utils/api";
|
||||||
import Button from "~/components/Button";
|
|
||||||
|
|
||||||
export function DeleteMemberConfirmation() {
|
export function DeleteMemberConfirmation() {
|
||||||
const utils = api.useUtils();
|
const utils = api.useUtils();
|
||||||
@@ -24,6 +23,7 @@ export function DeleteMemberConfirmation() {
|
|||||||
showPopup({
|
showPopup({
|
||||||
header: "Unable to remove member",
|
header: "Unable to remove member",
|
||||||
message: "Please try again later, or contact customer support.",
|
message: "Please try again later, or contact customer support.",
|
||||||
|
icon: "error",
|
||||||
});
|
});
|
||||||
closeModal();
|
closeModal();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user