From ba40d4691e7c1750ddd0fcb5f9a36a774dceef45 Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Fri, 16 Feb 2024 07:18:22 +0100 Subject: [PATCH] Tune dashboard TX list size --- .../pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx b/src/app/pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx index 74592c1880..1d21d04b78 100644 --- a/src/app/pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx +++ b/src/app/pages/ParatimeDashboardPage/LatestRuntimeTransactions.tsx @@ -7,14 +7,13 @@ import { Link as RouterLink } from 'react-router-dom' import Link from '@mui/material/Link' import { Layer, useGetRuntimeTransactions } from '../../../oasis-nexus/api' import { RuntimeTransactions } from '../../components/Transactions' -import { NUMBER_OF_ITEMS_ON_DASHBOARD } from '../../config' import { COLORS } from '../../../styles/theme/colors' import { AppErrors } from '../../../types/errors' import { RouteUtils } from '../../utils/route-utils' import { useScreenSize } from '../../hooks/useScreensize' import { SearchScope } from '../../../types/searchScope' -const limit = NUMBER_OF_ITEMS_ON_DASHBOARD +const limit = 15 // NUMBER_OF_ITEMS_ON_DASHBOARD export const LatestRuntimeTransactions: FC<{ scope: SearchScope }> = ({ scope }) => { const { isTablet } = useScreenSize()