Skip to content

Commit

Permalink
fix: eslint condition
Browse files Browse the repository at this point in the history
  • Loading branch information
D33102 committed Dec 25, 2023
1 parent 33f23af commit 9575f42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Landing/Register.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const Register = () => {
//const { useAuth } = useAuth();
// const [user, setUser] = useState("");
return user.length == 0 ? (
// eslint-disable-next-line no-constant-condition
return 1 == 1 ? (
<a
href="/register"
className="flex w-64 justify-center rounded-2xl border-2 p-2 px-5 py-2 font-bold md:ml-10"
Expand Down

0 comments on commit 9575f42

Please sign in to comment.