diff --git a/src/components/account/AccountDetails/index.tsx b/src/components/account/AccountDetails/index.tsx index c6b57578..fbf96df1 100644 --- a/src/components/account/AccountDetails/index.tsx +++ b/src/components/account/AccountDetails/index.tsx @@ -136,7 +136,7 @@ function AccountDetails(props: Props) { className={classNames( 'group/accountdetail relative min-h-75', 'border rounded-base border-white/20', - 'backdrop-blur-sticky z-2', + 'backdrop-blur-sticky z-3 overflow-hidden', !reduceMotion && 'transition-all duration-500', accountDetailsExpanded ? 'is-expanded w-full h-auto' @@ -198,16 +198,25 @@ function AccountDetails(props: Props) {
+
React.ReactNode - isOpen?: boolean - renderSubTitle: () => React.ReactNode - toggleOpen: (index: number) => void -} - export default function AccordionContent(props: Props) { const { title, renderContent, isOpen, renderSubTitle, toggleOpen } = props.item diff --git a/src/components/trade/TradeChart/index.tsx b/src/components/trade/TradeChart/index.tsx index 2b0e43d2..2a26e65f 100644 --- a/src/components/trade/TradeChart/index.tsx +++ b/src/components/trade/TradeChart/index.tsx @@ -85,7 +85,7 @@ export default function TradeChart(props: Props) { }) }) } - }, [props.buyAsset.pythFeedName, props.buyAsset.symbol]) + }, [props.buyAsset.pythFeedName, props.buyAsset.symbol, chartInterval]) return ( React.ReactNode + isOpen?: boolean + renderSubTitle: () => React.ReactNode + toggleOpen: (index: number) => void +}