chore(wallet): remove links from the risk disclaimer (#4240)
This commit is contained in:
parent
6e0577aee4
commit
8c8fe6878a
@ -15,12 +15,12 @@ export const ConnectDialogTitle = ({ children }: { children: ReactNode }) => {
|
||||
};
|
||||
|
||||
export const ConnectDialogContent = ({ children }: { children: ReactNode }) => {
|
||||
return <div className="mb-6">{children}</div>;
|
||||
return <div>{children}</div>;
|
||||
};
|
||||
|
||||
export const ConnectDialogFooter = ({ children }: { children?: ReactNode }) => {
|
||||
return (
|
||||
<footer className="flex justify-center gap-4 px-4 md:px-8 pt-4 md:pt-6 -mx-4 md:-mx-8 border-t border-neutral-500 text-neutral-500 dark:text-neutral-400">
|
||||
<footer className="flex justify-center gap-4 px-4 md:px-8 pt-4 md:pt-6 -mx-4 md:-mx-8 border-t border-neutral-500 text-neutral-500 dark:text-neutral-400 mt-6">
|
||||
{children ? (
|
||||
children
|
||||
) : (
|
||||
|
@ -320,20 +320,17 @@ const SelectedForm = ({
|
||||
|
||||
if (connector instanceof JsonRpcConnector) {
|
||||
return (
|
||||
<>
|
||||
<ConnectDialogContent>
|
||||
<JsonRpcConnectorForm
|
||||
connector={connector}
|
||||
status={jsonRpcState.status}
|
||||
error={jsonRpcState.error}
|
||||
onConnect={onConnect}
|
||||
appChainId={appChainId}
|
||||
reset={reset}
|
||||
riskMessage={riskMessage}
|
||||
/>
|
||||
</ConnectDialogContent>
|
||||
<ConnectDialogFooter />
|
||||
</>
|
||||
<ConnectDialogContent>
|
||||
<JsonRpcConnectorForm
|
||||
connector={connector}
|
||||
status={jsonRpcState.status}
|
||||
error={jsonRpcState.error}
|
||||
onConnect={onConnect}
|
||||
appChainId={appChainId}
|
||||
reset={reset}
|
||||
riskMessage={riskMessage}
|
||||
/>
|
||||
</ConnectDialogContent>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user