From aacfa3056c4893239ccf203e1926ef71d6e43a98 Mon Sep 17 00:00:00 2001 From: Matt Jones <885417+jonesmac@users.noreply.github.com> Date: Fri, 13 Sep 2024 17:49:46 -0400 Subject: [PATCH] use type that includes listMode --- .../src/components/UniswapDetailsRender.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/packages/crypto-market-uniswap/src/components/UniswapDetailsRender.tsx b/packages/plugins/packages/crypto-market-uniswap/src/components/UniswapDetailsRender.tsx index 18fde8b77..87c0eed86 100644 --- a/packages/plugins/packages/crypto-market-uniswap/src/components/UniswapDetailsRender.tsx +++ b/packages/plugins/packages/crypto-market-uniswap/src/components/UniswapDetailsRender.tsx @@ -1,5 +1,5 @@ import type { FlexBoxProps } from '@xylabs/react-flexbox' -import type { PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin' +import type { PayloadDetailsListRenderProps } from '@xyo-network/react-payload-plugin' import { PayloadDataMissing } from '@xyo-network/react-shared' import type { UniswapCryptoMarketPayload } from '@xyo-network/uniswap-crypto-market-payload-plugin' import React from 'react' @@ -7,7 +7,7 @@ import React from 'react' import { UniswapPairsCardView } from './Cards/index.ts' import { UniswapPairsTableView } from './Table/index.ts' -export const UniswapDetailsRender: React.FC = ({ listMode, ...props }) => { +export const UniswapDetailsRender: React.FC = ({ listMode, ...props }) => { const { payload } = props const uniswapPayload = payload ? (payload as UniswapCryptoMarketPayload) : undefined