Skip to content

Conversation

@M-DEV-1
Copy link
Member

@M-DEV-1 M-DEV-1 commented May 20, 2025

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@M-DEV-1
Copy link
Member Author

M-DEV-1 commented May 20, 2025

Screencast.from.2025-05-20.18-09-38.webm

useEffect(() => {
const checkSVG = () => {
if (!window.SVG || !window.SVG.Element.prototype.draw) {
let retries = 0;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of checking once after 1 second, it will now check every 200ms for 2 seconds to avoid premature errors.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Hmm. Hmm.

Copy link

@fahdfady fahdfady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@M-DEV-1 M-DEV-1 closed this May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SVG.js loading issue

3 participants