diff --git a/centrifuge-app/package.json b/centrifuge-app/package.json index e20cbc141b..a089fb2fa9 100644 --- a/centrifuge-app/package.json +++ b/centrifuge-app/package.json @@ -47,7 +47,7 @@ "react-router": "6", "react-router-dom": "6", "recharts": "2.6.2", - "styled-components": "^5.3.5", + "styled-components": "6.1.12", "styled-system": "^5.1.5", "typescript": "~5.3.3", "vitest": "^1.2.1" diff --git a/centrifuge-app/src/components/TextLink.tsx b/centrifuge-app/src/components/TextLink.tsx index 820df816f9..b326046cd1 100644 --- a/centrifuge-app/src/components/TextLink.tsx +++ b/centrifuge-app/src/components/TextLink.tsx @@ -31,10 +31,9 @@ export const TextLink = styled.span` } } ` +export const RouterTextLink = (props: any) => +export const ButtonTextLink = (props: any) => -export const RouterTextLink = TextLink.withComponent(Link) - -export const ButtonTextLink = TextLink.withComponent('button') ButtonTextLink.defaultProps = { type: 'button', } diff --git a/centrifuge-app/src/pages/IssuerPool/Investors/LiquidityPools.tsx b/centrifuge-app/src/pages/IssuerPool/Investors/LiquidityPools.tsx index c3bef66568..1bb0bae16c 100644 --- a/centrifuge-app/src/pages/IssuerPool/Investors/LiquidityPools.tsx +++ b/centrifuge-app/src/pages/IssuerPool/Investors/LiquidityPools.tsx @@ -175,7 +175,7 @@ function PoolDomain({ poolId, domain, refetch }: { poolId: string; domain: Domai ) : ( pool.tranches.map((tranche) => ( - +