-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
Description
Describe the bug
A ReferenceError occurs in the NewTutorial component when a user attempts to create a new tutorial. The onSubmit function attempts to access a variable named userHandle which is not defined within the function scope or the component's props.
To Reproduce
Steps to reproduce the behavior:
- Log in to the application
- Navigate to the User Dashboard and Click on the New Codelabz Button.
- Fill in the Title, Summary, and select an Owner.
- Click the Create button.
- Check the browser console to see the Uncaught ReferenceError: userHandle is not defined.
Expected behavior
When a user fills out the form and clicks the "Create" button, the website should successfully save the new tutorial. It should find the user's nickname (handle) from the saved login data and use it to finish making the tutorial.
Screenshots
Cypress Failure :
Console Error :
Desktop :
- OS: Ubuntu (Linux)
- Browser: Chrome
Reactions are currently unavailable