-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
When an OOB Code contains multiples times the same character, say 3ACC
for example, only 3AC
is shown
I think that's because char
is set as a key in this each
block, which causes Svelte to fail because there is a duplicate key:
{#each authState?.identificationString as char (char)} |
I think the fix would simply be to not use any key in this context, because keys are useful for optimizing changes, however, this value will never change.
Simply removing the (char)
seems to work here: Svelte Playground
(If we try adding back (char)
we get a each_key_duplicate
error)
I can make a PR if needed.
Metadata
Metadata
Assignees
Labels
No labels