diff --git a/components/pages/shield/EmailClassificationRow.tsx b/components/pages/shield/EmailClassificationRow.tsx index f1d89ee..1a186ad 100644 --- a/components/pages/shield/EmailClassificationRow.tsx +++ b/components/pages/shield/EmailClassificationRow.tsx @@ -19,17 +19,15 @@ import { } from "@/components/ui/popover"; import { TableCell, TableRow } from "@/components/ui/table"; import { toast } from "@/components/ui/use-toast"; -import { deleteEmailClassification, updateEmailClassification } from "@/lib/actions"; +import { + deleteEmailClassification, + updateEmailClassification, +} from "@/lib/actions"; import { cn } from "@/lib/utils"; import { Check } from "lucide-react"; import { useState } from "react"; -export const CLASSIFICATIONS = [ - "DISPOSABLE", - "GAYSEX", - "HOMOSEXUAL", - "FDGIUHDIFUIOFZH", -]; +export const CLASSIFICATIONS = ["DISPOSABLE", "PRONE_TO_ABUSE", "ALIAS"]; export default function EmailClassificationRow({ domain, @@ -117,7 +115,7 @@ export default function EmailClassificationRow({ toast({ title: "Classification deleted", }); - } catch(e) { + } catch (e) { toast({ title: "Failed to delete classification", description: String(e),