Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Fix React missing key warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPrifer committed Dec 11, 2020
1 parent bde5bc4 commit 423b131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ViewportShadingSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const ViewportShadingSettings: VFC = () => {
/>
{hdrPaths.map((hdrPath) => (
<EnvironmentPreview
key={hdrPath}
url={hdrPath}
selected={hdrPath === selectedHdr}
onClick={() => {
Expand Down

0 comments on commit 423b131

Please sign in to comment.