Time tracking dashboard

Please log in to post a comment
Log in with GitHubCommunity feedback
- @calvinvin
I noticed that the "setDefaultTab" function was executed at window.load and window.reload event, however, the "click" event listeners were added only after asynchronous function "fetchData()" resolved.
That is, the "setDefaultTab" function will not work if the "fetchData" function takes too long.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord