This commit is contained in:
Kalle 2022-02-24 17:26:54 +02:00
parent 0c30211082
commit 2d5fb5ee96

View File

@ -37,7 +37,7 @@ export function GroupCard({
case "LOOK_AGAIN":
return "Stop looking";
default:
throw new Error(`Invalid group action type: ${action}`);
throw new Error(`Invalid group action type: ${action ?? "UNDEFINED"}`);
}
};
const buttonVariant = (): ButtonProps["variant"] => {