Skip to content

Commit

Permalink
Change string to number in navigate (#13)
Browse files Browse the repository at this point in the history
* Initial commit

* Task #227980:Header and login page

* Task #228047 : Form creation files created

* Task #228198: create form general information and routes

* Task #228198: create form-issue for chakra UI

* fix:folder structure, loader and auth and guest Routes

* fix:sonar issue

* fix:sonar issue

* Task #228198: create schema,create UI schema and create form

* Task #228198 created RJFS form Task #228433 created keymatrics section using stat

* Task #228496 create login and otp page Task #228497 Create register page Task #228047 create typography

* Task #228198 create accordian , check circle,warning icon ,connected line ui add checkbox

* Task #228598 Task #228050 add apexcharts and ka-table in Dashboard

* Task #228496 Task #228497

* Task #228862

* Task #228862

* Task #228862

* Task #228862

* Task #228862

* Task #228862

* Task #229019

* Task #229075

* Task #228862

* Task #228862

* Task #228862 change string to number in navigate

---------

Co-authored-by: Sagar Takle <[email protected]>
  • Loading branch information
namita-25 and sagarkoshti1990 authored Oct 21, 2024
1 parent 99b2d8e commit ddec8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/auth/OTP.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function OTP() {
setIsLoading(false);
localStorage.setItem("token", "true");
localStorage.setItem("user", JSON.stringify(registerResponse?.user));
navigate("0");
navigate(0); //string to number
} else {
setIsLoading(false);
setMessage("Please contact admin!");
Expand All @@ -84,7 +84,7 @@ export default function OTP() {
localStorage.setItem("token", "true");
setIsLoading(false);
localStorage.setItem("user", JSON.stringify(otpLoginResponse?.user));
navigate("0");
navigate(0); //string to number
} else {
setIsLoading(false);
setMessage("Please contact admin!");
Expand Down

0 comments on commit ddec8f6

Please sign in to comment.