Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Add font swap property #2

Merged
merged 1 commit into from
Jul 6, 2022
Merged

⚡ Add font swap property #2

merged 1 commit into from
Jul 6, 2022

Conversation

Evavic44
Copy link
Owner

@Evavic44 Evavic44 commented Jul 6, 2022

Fixes NexJS font warning issue:

Warning: A font-display parameter is missing (adding &display=optional is recommended). See: https://nextjs.org/docs/messages/google-font-display @next/next/google-font-display

30:9 Warning: Custom fonts not added in pages/_document.js will only load for a single page. This is discouraged. See: https://nextjs.org/docs/messages/no-page-custom-font @next/next/no-page-custom-font

@Evavic44 Evavic44 added bug Something isn't working enhancement New feature or request labels Jul 6, 2022
@vercel
Copy link

vercel bot commented Jul 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
spekni ✅ Ready (Inspect) Visit Preview Jul 6, 2022 at 0:41AM (UTC)

@Evavic44 Evavic44 merged commit e583a58 into main Jul 6, 2022
@Evavic44 Evavic44 deleted the font-flag branch July 6, 2022 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant