From d465c49c0b11ff91609425b3d6f56c732c3a8fdc Mon Sep 17 00:00:00 2001 From: Brendan from DeFi Date: Tue, 4 Feb 2025 06:11:37 -0800 Subject: [PATCH] docs: fix type typo, add sidebar (#1921) --- site/docs/pages/api/types.mdx | 4 ++-- site/sidebar.ts | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/site/docs/pages/api/types.mdx b/site/docs/pages/api/types.mdx index 7c424bd908..a24de9353a 100644 --- a/site/docs/pages/api/types.mdx +++ b/site/docs/pages/api/types.mdx @@ -142,10 +142,10 @@ type BuildMintTransactionParams = { type BuildMintTransactionResponse = MintTransaction | APIError; ``` -## `GetPortfolioParams` +## `GetPortfoliosParams` ```ts -type GetPortfolioParams = { +type GetPortfoliosParams = { addresses: Address[] | null | undefined; }; ``` diff --git a/site/sidebar.ts b/site/sidebar.ts index 6b89416fc8..bafd010641 100644 --- a/site/sidebar.ts +++ b/site/sidebar.ts @@ -281,6 +281,15 @@ export const sidebar = [ }, ], }, + { + text: 'Wallet', + items: [ + { + text: 'getPortfolios', + link: '/api/get-portfolios', + }, + ], + }, ], }, {