refactor: add country field in registration form

This commit is contained in:
2025-05-13 05:57:34 +05:30
parent 30cef9b45d
commit 5bb3be0aa4
2 changed files with 119 additions and 26 deletions

View File

@@ -57,7 +57,7 @@ export const ContextProvider = ({ children }) => {
setToken(response.data.token)
localStorage.setItem('token', response.data.token)
toast.success('Registration Successful');
router.push('/')
router.push('/accounts/login')
return response.data;
} catch (error) {