Skip to content

Commit

Permalink
chore: Max 15 rows each page
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Sep 20, 2023
1 parent 309289d commit cee8ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Chip } from '@equinor/eds-core-react'
import { EdsDataGrid } from '@equinor/eds-data-grid-react'
import * as Styled from './Table.styled'
import { useAnalogueModels } from '../hooks/useAnalogueModels'
import * as Styled from './Table.styled'

export const Table = () => {
const { models } = useAnalogueModels()
Expand All @@ -15,6 +15,7 @@ export const Table = () => {
enablePagination
emptyMessage="Empty :("
rows={models.data.data}
pageSize={15}
columns={[
{
accessorKey: 'analogueModelId',
Expand Down

0 comments on commit cee8ea8

Please sign in to comment.