Skip to content

Commit

Permalink
Update for prettier fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Aug 10, 2024
1 parent ce2750a commit d59af3c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions apps/web/src/components/registration/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ interface RegisterFormProps {
export default function RegisterForm({ defaultEmail }: RegisterFormProps) {
const { isLoaded, userId } = useAuth();
const router = useRouter();



const form = useForm<z.infer<typeof RegisterFormValidator>>({
resolver: zodResolver(RegisterFormValidator),
Expand Down Expand Up @@ -101,7 +99,7 @@ export default function RegisterForm({ defaultEmail }: RegisterFormProps) {
const [isLoading, setIsLoading] = useState(false);
const universityValue = form.watch("university");
const bioValue = form.watch("bio");

useEffect(() => {
if (universityValue != c.localUniversityName.toLowerCase()) {
form.setValue("shortID", "NOT_LOCAL_SCHOOL");
Expand Down Expand Up @@ -131,7 +129,7 @@ export default function RegisterForm({ defaultEmail }: RegisterFormProps) {
}

let resume: string = c.noResumeProvidedURL;

if (uploadedFile) {
const fileLocation = `${c.hackathonName}/resume/${uploadedFile.name}`;
const newBlob = await put(fileLocation, uploadedFile, {
Expand Down Expand Up @@ -511,7 +509,7 @@ export default function RegisterForm({ defaultEmail }: RegisterFormProps) {
render={({ field }) => (
<FormItem className="col-span-2 flex flex-col">
<FormLabel>University</FormLabel>
<Popover >
<Popover>
<PopoverTrigger asChild>
<FormControl>
<Button
Expand Down Expand Up @@ -592,7 +590,7 @@ export default function RegisterForm({ defaultEmail }: RegisterFormProps) {
render={({ field }) => (
<FormItem className="col-span-2 flex flex-col">
<FormLabel>Major</FormLabel>
<Popover >
<Popover>
<PopoverTrigger asChild>
<FormControl>
<Button
Expand Down

0 comments on commit d59af3c

Please sign in to comment.