diff --git a/public/exclamation-triangle-fill.svg b/public/exclamation-triangle-fill.svg new file mode 100644 index 00000000..16c5fd63 --- /dev/null +++ b/public/exclamation-triangle-fill.svg @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/public/unsupported-network.svg b/public/unsupported-network.svg deleted file mode 100644 index 0b0449d9..00000000 --- a/public/unsupported-network.svg +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/components/modal/modal.tsx b/src/components/modal/modal.tsx index 0d37ebcc..58a5ef95 100644 --- a/src/components/modal/modal.tsx +++ b/src/components/modal/modal.tsx @@ -85,17 +85,19 @@ type ModalHeaderProps = children: string; tooltipText?: null; size?: null; + noMargin?: boolean; } | { children: string; tooltipText: string; size: 'large'; + noMargin?: boolean; }; -export const ModalHeader = ({ children, tooltipText, size }: ModalHeaderProps) => { +export const ModalHeader = ({ children, tooltipText, size, noMargin = false }: ModalHeaderProps) => { if (size === 'large') { return ( -
- Supported networks:{' '}
- {supportedNetworks
- .map((network) => {network})
- .map((Component, i) => (
-
- Current network: {networkName} -
+Please connect your wallet to a supported network.
+
+ Supported networks:{' '}
+ {supportedNetworks
+ .map((network) => {network})
+ .map((Component, i) => (
+
+ Current network: {networkName} +
+Please use your wallet and connect to one of the supported networks.
+