Skip to content

Commit

Permalink
remove unuse
Browse files Browse the repository at this point in the history
  • Loading branch information
tidvn committed Nov 9, 2024
1 parent 73f84c5 commit 0f15e13
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
17 changes: 1 addition & 16 deletions src/components/providers/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import React, { Suspense } from "react";
import MeshProvider from "./mesh";
import QueryClientProvider from "./query";
import ErrorClientProvider from "./error";
import { Toaster } from "@/components/ui/toaster";
Expand All @@ -18,16 +17,6 @@ const WalletProvider = dynamic(
},
);

const NetworkProvider = dynamic(
async () => await import("@/components/providers/network"),
{
loading() {
return <Loading />;
},
ssr: false,
},
);

export default function AppProviders({
children,
session,
Expand All @@ -41,11 +30,7 @@ export default function AppProviders({
<ErrorClientProvider>
<QueryClientProvider>
<SessionProvider session={session}>
<MeshProvider>
<NetworkProvider>
<WalletProvider>{children}</WalletProvider>
</NetworkProvider>
</MeshProvider>
<WalletProvider>{children}</WalletProvider>
</SessionProvider>
</QueryClientProvider>
</ErrorClientProvider>
Expand Down
18 changes: 0 additions & 18 deletions src/components/providers/mesh.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions src/components/providers/network.tsx

This file was deleted.

0 comments on commit 0f15e13

Please sign in to comment.