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
parent
commit
1c70fb8606
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/PageLayout.tsx

2
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}

Loading…
Cancel
Save