Skip to content

Commit

Permalink
fix(desk): use index as key instead of path
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Aug 31, 2023
1 parent 6b3cc02 commit 29272fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ export function ValidationInspector(props: DocumentInspectorProps) {

{validation.length > 0 && (
<Stack space={2}>
{validation.map((marker) => (
{validation.map((marker, i) => (
<ValidationCard
key={pathToString(marker.path)}
key={i}
marker={marker}
onOpen={handleOpen}
schemaType={schemaType}
Expand Down

0 comments on commit 29272fa

Please sign in to comment.