Skip to content

Commit

Permalink
fix(desk): use index as key instead of path (#4890)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Sep 6, 2023
1 parent 5c75b2c commit 645aedd
Showing 1 changed file with 2 additions and 2 deletions.
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

2 comments on commit 645aedd

@vercel
Copy link

@vercel vercel bot commented on 645aedd Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

performance-studio – ./

performance-studio-git-next.sanity.build
performance-studio.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 645aedd Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

Please sign in to comment.