@goodaofi/bonds-sdk 3.0.178 → 3.0.180
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
CHANGED
|
@@ -100041,7 +100041,7 @@ const CheckUrl = () => {
|
|
|
100041
100041
|
return jsx$2(Fragment$1, {});
|
|
100042
100042
|
};
|
|
100043
100043
|
|
|
100044
|
-
const YourGoo = ({ yourGoo, isLoading,
|
|
100044
|
+
const YourGoo = ({ yourGoo, isLoading, }) => {
|
|
100045
100045
|
const { data: saleInfo } = useSaleInfo();
|
|
100046
100046
|
const gooAmountTotal = formatNumber$1(yourGoo?.gooPayout ?? '0');
|
|
100047
100047
|
const sGooAmountTotal = formatNumber$1(yourGoo?.sGooPayout ?? '0');
|
|
@@ -100092,7 +100092,7 @@ const YourGoo = ({ yourGoo, isLoading, isFetching, }) => {
|
|
|
100092
100092
|
symbol: 'sGOO',
|
|
100093
100093
|
},
|
|
100094
100094
|
};
|
|
100095
|
-
return (jsxs(Flex, { sx: { width: '100%', justifyContent: 'center', flexDirection: 'column', alignItems: 'center' }, children: [jsx$2(Text, { sx: { fontSize: '20px', fontWeight: 'bold', opacity: 0.5 }, children: "Your Pending Tokens" }), isLoading
|
|
100095
|
+
return (jsxs(Flex, { sx: { width: '100%', justifyContent: 'center', flexDirection: 'column', alignItems: 'center' }, children: [jsx$2(Text, { sx: { fontSize: '20px', fontWeight: 'bold', opacity: 0.5 }, children: "Your Pending Tokens" }), isLoading ? (jsx$2(Flex, { sx: { justifyContent: 'center', alignItems: 'center', p: '30px' }, children: jsx$2(Spinner, {}) })) : (jsx$2(Flex, { sx: {
|
|
100096
100096
|
flexDirection: ['column', 'column', 'row', 'row'],
|
|
100097
100097
|
width: '100%',
|
|
100098
100098
|
}, children: Object.entries(cardInfo).map(([key, value]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserGooData } from '../../hooks/useYourGoo';
|
|
2
|
-
export declare const YourGoo: ({ yourGoo, isLoading,
|
|
2
|
+
export declare const YourGoo: ({ yourGoo, isLoading, }: {
|
|
3
3
|
yourGoo: UserGooData | null | undefined;
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
isFetching: boolean;
|