gm,
Iâm trying to use this Auth API from Moralis
But as soon as I add the first instructions, I have this error:
ERROR in ./src/App.js 17:15-27
export 'createClient' (imported as 'createClient') was not found in 'wagmi' (possible exports: ChainMismatchError, ChainNotConfiguredError, ConfigChainsNotFound,```
here is the app.js I got at this moment:
import { createClient, configureChains, WagmiConfig } from âwagmiâ;
import { publicProvider } from âwagmi/providers/publicâ;
import { mainnet } from âwagmi/chainsâ;
import Signin from â./signinâ;
import User from â./userâ;
const { provider, webSocketProvider } = configureChains([mainnet], [
publicProvider(),
]);
const client = createClient({
provider,
webSocketProvider,
autoConnect: true,
});
const router = createBrowserRouter([
{
path: â/signinâ,
element: ,
},
{
path: â/userâ,
element: ,
},
]);
function App() {
return (
);
}
Probably not updated from the latest version of wagmi
and please note that I have followed the tutorial to "create a react dapp", with the balance, which is working well
Please help me!!