summaryrefslogtreecommitdiff
path: root/src/containers/Page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/Page.tsx')
-rw-r--r--src/containers/Page.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Page.tsx b/src/containers/Page.tsx
index a7c0964..c05ef4b 100644
--- a/src/containers/Page.tsx
+++ b/src/containers/Page.tsx
@@ -16,7 +16,7 @@ const Page: React.FC<Props> = ({ title, actions, children }) => (
<div className="mb-2 flex justify-between items-center">
<span className="text-2xl font-bold">{title}</span>
<div>
- {actions?.map(action => (<Button {...action} size="sm">{action.name}</Button>))}
+ {actions?.map(action => (<Button {...action} key={action.name} size="sm">{action.name}</Button>))}
</div>
</div>
{children}