@goodaofi/bonds-sdk 3.0.139 → 3.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -95389,17 +95389,17 @@ const GooPrivatePartners = () => {
|
|
|
95389
95389
|
justifyContent: 'center',
|
|
95390
95390
|
alignItems: 'center',
|
|
95391
95391
|
borderRadius: '12px',
|
|
95392
|
-
background: '
|
|
95392
|
+
background: 'white2',
|
|
95393
95393
|
}, children: [isLoading && (jsxs(Flex, { sx: { flexDirection: 'column', alignItems: 'center', gap: '1rem' }, children: [jsx$2(LoadingSpinner, { isLoading: true, size: 60 }), jsx$2(Text, { sx: { fontSize: '14px', opacity: 0.7 }, children: "Loading partner information..." })] })), error && !isLoading && (jsxs(Flex, { sx: { flexDirection: 'column', alignItems: 'center', gap: '1rem', textAlign: 'center' }, children: [jsx$2(Svg, { icon: "error", width: "48px", color: "error" }), jsx$2(Text, { sx: { fontSize: '16px', fontWeight: 600, color: 'error' }, children: "Failed to load partner data" }), jsx$2(Text, { sx: { fontSize: '14px', opacity: 0.7, maxWidth: '300px' }, children: (error === null || error === void 0 ? void 0 : error.message) || 'An error occurred while fetching partner information' }), jsx$2(Button, { onClick: () => refetch(), variant: "secondary", sx: { mt: '0.5rem' }, children: "Try Again" })] })), !isLoading && !error && account && (jsxs(Flex, { sx: { flexDirection: 'column', width: '100%', gap: '1rem' }, children: [privatePartnerInfo && (jsxs(Flex, { sx: {
|
|
95394
95394
|
flexDirection: 'column',
|
|
95395
|
-
background: '
|
|
95395
|
+
background: 'white1',
|
|
95396
95396
|
borderRadius: '8px',
|
|
95397
95397
|
padding: '1rem',
|
|
95398
95398
|
gap: '0.5rem',
|
|
95399
95399
|
alignItems: 'center',
|
|
95400
95400
|
}, children: [jsx$2(Text, { sx: { fontSize: '12px', opacity: 0.6, textTransform: 'uppercase', letterSpacing: '0.5px' }, children: "Total Deposited" }), jsxs(Flex, { sx: { alignItems: 'center', gap: '0.5rem' }, children: [jsx$2(TokenImage, { symbol: depositToken === null || depositToken === void 0 ? void 0 : depositToken.symbol, size: 20, chain: chainId }), jsx$2(Text, { sx: { fontSize: '24px', fontWeight: 700 }, children: totalDeposited.toFixed(2) }), jsx$2(Text, { sx: { fontSize: '16px', fontWeight: 600, opacity: 0.7 }, children: depositToken === null || depositToken === void 0 ? void 0 : depositToken.symbol })] })] })), jsxs(Flex, { sx: {
|
|
95401
95401
|
flexDirection: 'column',
|
|
95402
|
-
background: '
|
|
95402
|
+
background: 'white1',
|
|
95403
95403
|
borderRadius: '8px',
|
|
95404
95404
|
padding: '1rem',
|
|
95405
95405
|
gap: '0.5rem',
|