Skip to content

Commit

Permalink
Add types to table
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Aug 5, 2021
1 parent d722d5b commit 154375e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function ErrorGroupList({ items, serviceName }: Props) {
const { urlParams } = useUrlParams();

const columns = useMemo(() => {
const a: Array<ITableColumn<ErrorGroupItem>> = [
return [
{
name: (
<>
Expand Down Expand Up @@ -189,9 +189,7 @@ function ErrorGroupList({ items, serviceName }: Props) {
NOT_AVAILABLE_LABEL
),
},
];

return a;
] as Array<ITableColumn<ErrorGroupItem>>;
}, [serviceName, urlParams]);

return (
Expand Down

0 comments on commit 154375e

Please sign in to comment.