From 43df3f43c501f4dae07b9b8a756c7404b32dda62 Mon Sep 17 00:00:00 2001 From: Jonni Date: Tue, 3 Dec 2024 16:56:11 +0000 Subject: [PATCH] fix: lint --- .../src/components/NationalIdWithName/NationalIdWithName.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/application/ui-components/src/components/NationalIdWithName/NationalIdWithName.tsx b/libs/application/ui-components/src/components/NationalIdWithName/NationalIdWithName.tsx index 213fab46f4de..fb42f7b19422 100644 --- a/libs/application/ui-components/src/components/NationalIdWithName/NationalIdWithName.tsx +++ b/libs/application/ui-components/src/components/NationalIdWithName/NationalIdWithName.tsx @@ -177,7 +177,7 @@ export const NationalIdWithName: FC< } else if (companyName && nameInAnswers !== companyName) { setValue(nameField, companyName) } - }, [personName, companyName, setValue, nameField]) + }, [personName, companyName, setValue, nameField, application.answers]) return (