From fd0d1bc4c4dcc99c5c47ec6a81e3ab15dd7c002a Mon Sep 17 00:00:00 2001 From: Diego Alzate Date: Fri, 21 Jun 2024 10:59:00 +0100 Subject: [PATCH] move comment (#611) --- packages/berlin/src/pages/Register.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/berlin/src/pages/Register.tsx b/packages/berlin/src/pages/Register.tsx index e2b6726c..d9b39ded 100644 --- a/packages/berlin/src/pages/Register.tsx +++ b/packages/berlin/src/pages/Register.tsx @@ -537,12 +537,12 @@ function RegisterForm(props: { }) { const navigate = useNavigate(); const queryClient = useQueryClient(); - const [selectedGroupId, setSelectedGroupId] = useState(''); - const prevSelectGroupId = props.groupId ?? 'none'; // i want to differentiate between when a group is selected and it is not // so i can show the correct registration fields // i will use the selectedGroupId to do this + const [selectedGroupId, setSelectedGroupId] = useState(''); + const prevSelectGroupId = props.groupId ?? 'none'; const form = useForm({ defaultValues: useMemo(