@skip-go/widget 2.2.5-alpha.1 → 2.2.5-alpha.2
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/build/index.es.js +5 -0
- package/build/index.es.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -671,6 +671,8 @@ function useTotalWallets() {
|
|
|
671
671
|
}
|
|
672
672
|
const WalletListItem = ({ children, chainType, walletName, ...props }) => {
|
|
673
673
|
const Component = useMemo(() => {
|
|
674
|
+
if (walletName === 'prax')
|
|
675
|
+
return PenumbraWalletListItem;
|
|
674
676
|
return chainType === 'cosmos' ? CosmosWalletListItem : EvmWalletListItem;
|
|
675
677
|
}, [chainType]);
|
|
676
678
|
return (jsx(Component, { walletName: walletName, ...props, children: children }));
|
|
@@ -717,6 +719,9 @@ const EvmWalletListItem = ({ children, walletName, ...props }) => {
|
|
|
717
719
|
}, [walletName]);
|
|
718
720
|
return jsx("div", { ...props, children: children });
|
|
719
721
|
};
|
|
722
|
+
const PenumbraWalletListItem = ({ children, walletName, ...props }) => {
|
|
723
|
+
return jsx("div", { ...props, children: children });
|
|
724
|
+
};
|
|
720
725
|
|
|
721
726
|
const useMakeWallets = () => {
|
|
722
727
|
const { data: chains } = useChains();
|