Browse Source

fix: Map Action Buttons key

pull/391/head
Kamil Dzieniszewski 1 year ago
parent
commit
ce66e55196
  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