From 74283a96f8a0856d79ba8039b4eb6710f0ac0144 Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 28 Aug 2024 10:55:43 +0100 Subject: [PATCH] chore: fix types --- src/views/card/components/LabelForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/card/components/LabelForm.tsx b/src/views/card/components/LabelForm.tsx index 4ae1701b..94c31652 100644 --- a/src/views/card/components/LabelForm.tsx +++ b/src/views/card/components/LabelForm.tsx @@ -103,7 +103,7 @@ export function LabelForm({ if (isEdit) { updateLabel.mutate({ - publicId: label.data?.publicId || "", + publicId: label.data?.publicId ?? "", name: values.name, colourCode: values.colour.code, });