p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Fixed/ Logged out error modal.

Open letscodedanish opened this issue 1 year ago • 0 comments

Fixes #3053

Changes:

With this update, the downloadSketch function now ensures that the project is only exported when the conditions regarding the logged-in user and ownership of the project are met. This helps prevent unnecessary API requests and improves the user experience by handling the download functionality more efficiently.

I have verified that this pull request:

  • [x] has no linting errors (npm run lint)
  • [x] has no test errors (npm run test)
  • [x] is from a uniquely-named feature branch and is up to date with the develop branch.
  • [x] is descriptively named and links to an issue number, i.e. Fixes #[issue-number]

letscodedanish avatar Feb 26 '24 19:02 letscodedanish