Skip to content

Commit

Permalink
move comment (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoalzate authored Jun 21, 2024
1 parent 00fc497 commit fd0d1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/berlin/src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -537,12 +537,12 @@ function RegisterForm(props: {
}) {
const navigate = useNavigate();
const queryClient = useQueryClient();
const [selectedGroupId, setSelectedGroupId] = useState<string>('');
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<string>('');
const prevSelectGroupId = props.groupId ?? 'none';

const form = useForm({
defaultValues: useMemo(
Expand Down

0 comments on commit fd0d1bc

Please sign in to comment.