daily-code icon indicating copy to clipboard operation
daily-code copied to clipboard

fix: Makes Download btn available for loggedin users only

Open hxdy-1 opened this issue 1 year ago • 0 comments

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: image

Showing Download button for authenticated users only: image

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

hxdy-1 avatar May 04 '24 12:05 hxdy-1