-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Uncaught TypeError: onToggle is not a function at onDoubleClick #20
Comments
Can you share your GitHub link for the code most probably it will be name error |
import {FaTimes} from 'react-icons/fa'
|
${task.reminder ? 'reminder' : ''}`} onDoubleClick={()=> onToggle(task.id)}> onToggle is passed as props inside it refers to toggleReminder function on app.js so see if you passed it correctly on app.js |
Please any update on this....I am at this point and have experienced what you posted. Updates please. Thank you. |
It has been passed properly on app.js also done console.log and only sees the error: Uncaught TypeError: onToggle is not a function |
can i get the repo link to check the issue |
https://github.com/tiusoro/tasktracker
|
I am stuck at 59 minutes 30 seconds of tutorial video. Following the same steps as the tutorial but getting an error when I double Click on the task: Uncaught TypeError: onToggle is not a function at onDoubleClick (Task.js:5).
Pls help asap. Thanks.
The text was updated successfully, but these errors were encountered: