Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lahcenbcf authored Jun 20, 2024
1 parent 6190108 commit 26cfe5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function cn(...inputs) {

export const onSubmit = async (data,setTeamCode,setModalMessage,setShowModal,setIsError) => {
try {
const response = await fetch('http://localhost:3001/submit-form', {
const response = await fetch('https://haick24-reg-form.onrender.com/submit-form', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down Expand Up @@ -38,4 +38,4 @@ export const onSubmit = async (data,setTeamCode,setModalMessage,setShowModal,set
} catch (error) {
setIsError(true)
}
};
};

0 comments on commit 26cfe5d

Please sign in to comment.