-
Notifications
You must be signed in to change notification settings - Fork 193
fix: handle invalid address from qr code #1645
Conversation
Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
There is an error with
Source: https://developer.mozilla.org/en-US/docs/Web/API/Element/classList So the methods available in the
|
I'll take a look! |
|
Works fine @dated 👍 |
@dated I agree with you about create a mixin for the |
A member has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution! |
Your pull request has been merged and marked as tier 4. It will earn you $20 USD. |
Summary
The
InputDelegate
component assumed that every address scanned from a qr code actually belonged to a delegate. This PR adds an additional check to make sure it does and removes the call to truncate the delegates username, since usernames are capped at a length of 20 by default.Checklist