daily-code
daily-code copied to clipboard
fix: Makes Download btn available for loggedin users only
PR Fixes:
- 1 Renders Download btn only when the users are logged-in
- 2 Removes unnecessary logs from the CodeBlock component
Resolves #382
Screenshots:
Hiding Download button for unauthenticated users:
Showing Download button for authenticated users only:
Checklist before requesting a review
- [x] I have performed a self-review of my code
- [x] I assure there is no similar/duplicate pull request regarding same issue