Browse Source
Merge pull request #391 from dzienisz/map-key
fix: Map Action Buttons key
pull/401/head
Hunter Thornsberry
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/components/PageLayout.tsx
|
|
|
@ -35,7 +35,7 @@ export const PageLayout = ({ |
|
|
|
<div className="flex justify-end space-x-4"> |
|
|
|
{actions?.map((action, index) => ( |
|
|
|
<button |
|
|
|
key={action.icon.name} |
|
|
|
key={action.icon.displayName} |
|
|
|
type="button" |
|
|
|
className="transition-all hover:text-accent" |
|
|
|
onClick={action.onClick} |
|
|
|
|