Duplicate language names cause duplicate key warning #5

Open
opened 2021-12-22 00:51:28 +00:00 by lewismoten · 0 comments
lewismoten commented 2021-12-22 00:51:28 +00:00 (Migrated from github.com)

Change language to The Klingon Language. Look at drop-down of available languages. Since all languages are referred to as being from Earth, they are all the same name Te ra'. The language itself is being used as the key, which throws duplicate key warnings.

Warning: Encountered two children with the same key, Te ra'. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

Change the key to be based on the language code instead (ie fr for Farsi)

Screen Shot 2021-12-21 at 7 47 57 PM

Change language to `The Klingon Language`. Look at drop-down of available languages. Since all languages are referred to as being from `Earth`, they are all the same name `Te ra'`. The language itself is being used as the key, which throws duplicate key warnings. > Warning: Encountered two children with the same key, `Te ra'`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. Change the key to be based on the language code instead (ie `fr` for `Farsi`) ![Screen Shot 2021-12-21 at 7 47 57 PM](https://user-images.githubusercontent.com/1164698/147016187-afbcd3c2-30ce-4792-9f20-47617ff71ca2.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lewismoten/schmuck-miser#5
No description provided.