fix(SW-216): Fixes after PR

This commit is contained in:
Erik Tiekstra
2024-10-08 08:13:38 +02:00
committed by Pontus Dreij
parent dfd40aa7aa
commit 5c10d36745
5 changed files with 13 additions and 15 deletions

View File

@@ -14,9 +14,9 @@ import Table from "@/components/TempDesignSystem/Table"
import styles from "./table.module.css"
import type { TableProps } from "@/types/components/blocks/table"
import type { TableBlockProps } from "@/types/components/blocks/table"
export default function TableBlock({ data }: TableProps) {
export default function TableBlock({ data }: TableBlockProps) {
const { columns, rows, totalWidth } = data
const initialPageSize = 5
const [pageSize, setPageSize] = useState(initialPageSize)