-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add svg & qrcode #310
add svg & qrcode #310
Conversation
✅ Deploy Preview for binarytree-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
function combineSVGPaths(svgInput: string): string { | ||
try { | ||
const parser = new DOMParser(); | ||
const svgDocument = parser.parseFromString(svgInput, "image/svg+xml"); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML
function isValidUrl(url: string) { | ||
const pattern = new RegExp( | ||
"^(https?:\\/\\/)?" + | ||
"((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|" + |
Check failure
Code scanning / CodeQL
Inefficient regular expression
@@ -206,13 +206,13 @@ const BorderRadius = () => { | |||
</Space> | |||
</Card> | |||
</PageGrid> | |||
<Card> | |||
<Card style={{ marginTop: "20px" }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use gap
✅ UI
vite.config.ts
,tsconfig.json
etc., ensure to include a description⬜ Automation Scripts
vite.config.ts
,tsconfig.json
etc., ensure to include a description