Skip to content

Commit

Permalink
Merge pull request #35 from baptisteArno/fix/google-font-error
Browse files Browse the repository at this point in the history
fix: 🐛 Remove missing creds GFont error
  • Loading branch information
baptisteArno authored May 11, 2022
2 parents bf766e5 + c4cf793 commit 176cb4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const FontSelector = ({
}, [])

const fetchPopularFonts = async () => {
if (!process.env.NEXT_PUBLIC_GOOGLE_API_KEY) return []
const response = await fetch(
`https://www.googleapis.com/webfonts/v1/webfonts?key=${process.env.NEXT_PUBLIC_GOOGLE_API_KEY}&sort=popularity`
)
Expand Down

4 comments on commit 176cb4e

@vercel
Copy link

@vercel vercel bot commented on 176cb4e May 11, 2022

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 176cb4e May 11, 2022

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:

builder-v2 – ./apps/builder

builder-v2-typebot-io.vercel.app
app.typebot.io
builder-v2-git-main-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 176cb4e May 11, 2022

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.