From 08f7483c953b9b265e74e2f6bbb5982eb226c545 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 25 Jul 2024 17:32:07 +0200 Subject: [PATCH] Add gatsby-ssr --- gatsby-ssr.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gatsby-ssr.jsx diff --git a/gatsby-ssr.jsx b/gatsby-ssr.jsx new file mode 100644 index 000000000..5789734d5 --- /dev/null +++ b/gatsby-ssr.jsx @@ -0,0 +1,9 @@ +import React from "react"; +import { Web3Provider } from "./src/context/Web3Context"; +import { SearchProvider } from "./src/context/SearchContext"; + +export const wrapRootElement = ({ element }) => ( + + {element} + +);