diff --git a/src/contexts/ConnectionWrapper.tsx b/src/contexts/ConnectionWrapper.tsx index 3dbec41e..5835478a 100644 --- a/src/contexts/ConnectionWrapper.tsx +++ b/src/contexts/ConnectionWrapper.tsx @@ -4,6 +4,7 @@ import { useQueryClient } from 'react-query'; import { AppProps } from 'next/app'; import { AvatarComponent, + DisclaimerComponent, RainbowKitProvider, darkTheme, getDefaultWallets, @@ -110,6 +111,15 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { ); }; + const Disclaimer: DisclaimerComponent = ({ Text, Link }) => ( + + By connecting my wallet, I agree to the{' '} + Terms of Service and acknowledge I have + read and understand the protocol{' '} + Privacy Policy. + + ); + return ( {useSiwe && ( @@ -120,6 +130,10 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { getSignoutCallback={getSignoutCallback} > { } showRecentTransactions={true} avatar={CustomAvatar} + modalSize="compact" > {children} @@ -136,6 +151,10 @@ const ConnectionWrapper = ({ children, useSiwe = true }: any) => { {!useSiwe && ( { } showRecentTransactions={true} avatar={CustomAvatar} + modalSize="compact" > {children}