refactor: replace nextjs-progressbar with nextjs-toploader

This commit is contained in:
DIYgod
2023-05-08 00:11:58 +01:00
parent 752b469420
commit 7c0cee5abf
3 changed files with 10 additions and 10 deletions
+2 -4
View File
@@ -1,6 +1,6 @@
"use client"
import NextNProgress from "nextjs-progressbar"
import NextTopLoader from "nextjs-toploader"
import { useState } from "react"
import { WagmiConfig, createClient } from "wagmi"
@@ -81,9 +81,7 @@ export default function Providers({
signInStrategy="simple"
ignoreWalletDisconnectEvent={true}
>
<NextNProgress
options={{ easing: "linear", speed: 500, trickleSpeed: 100 }}
/>
<NextTopLoader easing="linear" speed={500} />
<LangProvider lang={lang}>{children}</LangProvider>
<NotificationModal colorScheme={colorScheme} />
</ConnectKitProvider>