Merge pull request #391 from dzienisz/map-key
fix: Map Action Buttons key
This commit is contained in:
@@ -35,7 +35,7 @@ export const PageLayout = ({
|
|||||||
<div className="flex justify-end space-x-4">
|
<div className="flex justify-end space-x-4">
|
||||||
{actions?.map((action, index) => (
|
{actions?.map((action, index) => (
|
||||||
<button
|
<button
|
||||||
key={action.icon.name}
|
key={action.icon.displayName}
|
||||||
type="button"
|
type="button"
|
||||||
className="transition-all hover:text-accent"
|
className="transition-all hover:text-accent"
|
||||||
onClick={action.onClick}
|
onClick={action.onClick}
|
||||||
|
|||||||
Reference in New Issue
Block a user