Skip to content

Commit

Permalink
fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
NancyAanchal committed Jul 5, 2024
1 parent 58a34d6 commit 72c443a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
21 changes: 0 additions & 21 deletions nepalingo-web/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
<<<<<<< HEAD
<<<<<<< HEAD
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
=======
=======

>>>>>>> e5199f6b80088fe392b668a0b00cc22b14bc5ba9
// Using cjs instead of this file because vite is still using postcss-load-config v4 which
// does not support esm with typescript
// https://github.com/postcss/postcss-load-config/issues/239 (fix added in v4)
// https://github.com/vitejs/vite/issues/15869#issuecomment-1939414914
// https://github.com/vitejs/vite/pull/15235

export const plugins = {
tailwindcss: {},
autoprefixer: {},
<<<<<<< HEAD
>>>>>>> c6c93b34a5f2dd40d68e9b26d39868ae1c41f0cb
=======
>>>>>>> e5199f6b80088fe392b668a0b00cc22b14bc5ba9
};
5 changes: 5 additions & 0 deletions nepalingo-web/src/components/userAuth/UserAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ const User_auth: React.FC = () => {
setError(null);
setSuccess(false);

if (username == "") {
setError("Please enter a username");
return;
}

if (action === "Sign Up" && username != "") {
// Attempt to sign up the user with the provided email and password
const { error } = await supabase.auth.signUp({
Expand Down

0 comments on commit 72c443a

Please sign in to comment.