diff --git a/example/App.tsx b/example/App.tsx index 6bdcf25bf..8d1ed2cd4 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -1,5 +1,12 @@ import { NavigationContainer } from '@react-navigation/native' +import { Ethereum } from '@thirdweb-dev/chains' +import { + ThirdwebProvider, + metamaskWallet, + rainbowWallet, +} from '@thirdweb-dev/react-native' import { Button, Platform } from 'react-native' +import Config from 'react-native-config' import { QueryClient, QueryClientProvider } from 'react-query' import { XmtpProvider } from 'xmtp-react-native-sdk' @@ -9,9 +16,6 @@ import HomeScreen from './src/HomeScreen' import LaunchScreen from './src/LaunchScreen' import { Navigator } from './src/Navigation' import TestScreen from './src/TestScreen' -import { ThirdwebProvider, metamaskWallet, rainbowWallet } from '@thirdweb-dev/react-native' -import { Ethereum } from '@thirdweb-dev/chains' -import Config from 'react-native-config' const queryClient = new QueryClient() @@ -20,18 +24,18 @@ export default function App() { // console.log("Thirdweb client id: " + Config.THIRD_WEB_CLIENT_ID) return ( + supportedWallets={[metamaskWallet(), rainbowWallet()]} + >