chore(wallet): remove links from the risk disclaimer (#4240)

This commit is contained in:
Art 2023-07-04 13:12:38 +02:00 committed by GitHub
parent 6e0577aee4
commit 8c8fe6878a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 16 deletions

View File

@ -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
) : (

View File

@ -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>
);
}