Skip to content

Commit

Permalink
fix: add gatsby-browser for client side rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
vickonrails committed Jun 15, 2021
1 parent 0ee56bf commit 2510a90
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/gatsby-browser.js
@@ -0,0 +1,8 @@
import React from 'react'
import { ThemeProvider } from '@avocado-ui/react'

const appTheme = {}

export const wrapRootElement = ({ element }) => {
return <ThemeProvider theme={appTheme}>{element}</ThemeProvider>
}

2 comments on commit 2510a90

@vercel
Copy link

@vercel vercel bot commented on 2510a90 Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

avocado-ui – ./website

avocado-ui.vercel.app
avocado-ui-vickonrails.vercel.app
avocado-ui-git-master-vickonrails.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2510a90 Jun 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.