Skip to content

Instantly share code, notes, and snippets.

@ffdead
Last active November 4, 2021 13:40
Show Gist options
  • Save ffdead/605b5f67324db0412cb2bf60713d63ae to your computer and use it in GitHub Desktop.
Save ffdead/605b5f67324db0412cb2bf60713d63ae to your computer and use it in GitHub Desktop.
GlobalCanvas in layout
export const wrapRootElement = ({ element }) => (
<>
{element}
<GlobalCanvas/>
</>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment