Skip to content

Commit

Permalink
Merge pull request #29 from lugvitc/main
Browse files Browse the repository at this point in the history
Fix FOE
  • Loading branch information
WizzyGeek authored Aug 11, 2024
2 parents 114cde1 + 42ec0b7 commit 1b0a7c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/apply.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ function Questions({ dep, name }: { [key: string]: string }) {

function Preference({ req, ...props }: any) {
// console.log(onChange)
console.log(departments)
return (
<Field as="select" {...props} defaultValue="none">
<option
Expand Down Expand Up @@ -306,10 +305,10 @@ export default function Apply() {

useEffect(() => {
// alert(session)
// if (session === null) {
// navigate("/auth");
// return;
// }
if (session === null) {
// navigate("/auth");
return;
}
supabase
.from("applicants")
.select("email")
Expand Down

0 comments on commit 1b0a7c8

Please sign in to comment.