Skip to content

Commit

Permalink
Add gatsby-ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jul 25, 2024
1 parent 12fc527 commit 08f7483
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gatsby-ssr.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";
import { Web3Provider } from "./src/context/Web3Context";
import { SearchProvider } from "./src/context/SearchContext";

export const wrapRootElement = ({ element }) => (
<SearchProvider>
<Web3Provider>{element}</Web3Provider>
</SearchProvider>
);

0 comments on commit 08f7483

Please sign in to comment.