Created
June 18, 2022 08:22
-
-
Save yathindrak/26238bf1129ebb39bd2c9574f80ec876 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import PageLayout from "./src/components/layout"; | |
export const wrapRootElement = ({ element }) => { | |
return ( | |
<> | |
<PageLayout> | |
{element} | |
</PageLayout> | |
</> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment