-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completed Task-3 ReactJs (ujju20) #12
base: main
Are you sure you want to change the base?
Conversation
pages/index.js
Outdated
} | ||
}) | ||
.then((res) => { | ||
console.log(token); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary console logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
pages/index.js
Outdated
getTasks(); | ||
}) | ||
.catch((error) => { | ||
console.log('Some error occurred'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Toast instead of console logging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
CSOC Task 3 Submission
I have completed the following tasks
auth_required.js
andno_auth_required.js