@@ -62,7 +62,8 @@ export const Wallet: FC = () => {
*/
new UnsafeBurnerWalletAdapter(),
],
- []
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ [network]
);
return (
@@ -40,7 +40,8 @@ const Context: FC<{ children: ReactNode }> = ({ children }) => {
@@ -73,7 +73,8 @@ const WalletContextProvider: FC<{ children: ReactNode }> = ({ children }) => {
const { enqueueSnackbar } = useSnackbar();
@@ -42,7 +42,8 @@ const Context: FC<{ children: ReactNode }> = ({ children }) => {
@@ -34,7 +34,8 @@ const App: FC<AppProps> = ({ Component, pageProps }) => {
@@ -37,7 +37,8 @@ const Context: FC<{ children: ReactNode }> = ({ children }) => {