From 0abb8be54bccb7d8fd38752a490bfa916503ce68 Mon Sep 17 00:00:00 2001 From: Joar Aurdal Date: Thu, 7 Nov 2024 11:45:29 +0100 Subject: [PATCH] Fjern kommerntarer --- src/stilling/stilling/edit/om-stillingen/janzz/Janzz.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stilling/stilling/edit/om-stillingen/janzz/Janzz.tsx b/src/stilling/stilling/edit/om-stillingen/janzz/Janzz.tsx index e65bc21a..98243c83 100644 --- a/src/stilling/stilling/edit/om-stillingen/janzz/Janzz.tsx +++ b/src/stilling/stilling/edit/om-stillingen/janzz/Janzz.tsx @@ -23,7 +23,7 @@ const Janzz: FunctionComponent = ({ tittel }) => { const onChange = (event: React.ChangeEvent | null, value?: string) => { setInput(event?.target?.value || value || ''); - setHasValidSelection(false); // Reset valid selection status on change + setHasValidSelection(false); }; const onToggleSelected = (option: string, isSelected: boolean) => { @@ -45,7 +45,7 @@ const Janzz: FunctionComponent = ({ tittel }) => { ]; dispatch({ type: SET_JANZZ, kategori }); setInput(capitalizeEmployerName(found.label) || ''); - setHasValidSelection(true); // Mark selection as valid + setHasValidSelection(true); } } };