🐛(react) fix DataGrid stories

Due to a recent update we need to set id for custom columns. This
wasn't reflected in stories.
This commit is contained in:
Nathan Vasse
2023-07-12 16:14:36 +02:00
committed by NathanVss
parent b9f5227332
commit 9661e280e0

View File

@@ -85,6 +85,7 @@ export const ClientSideWithoutPagination = () => {
},
{
headerName: "Actions",
id: "actions",
renderCell: () => (
<Button
color="tertiary"
@@ -229,6 +230,7 @@ export const FullServerSide = () => {
headerName: "Address",
},
{
id: "actions",
renderCell: () => (
<Button
color="tertiary"
@@ -271,6 +273,7 @@ export const DataListOnly = () => {
{ field: "date" },
{
headerName: "action",
id: "action",
renderCell: () => {
return (
<Button size="small" color="secondary">