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

Console warning due to including stylesheets in Head component (next/head) #1934

Open
mohitb35 opened this issue Nov 29, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mohitb35
Copy link
Collaborator

Describe the bug
A console warning is seen due to including of stylesheets in Head component

warn-once.js:16 Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="https://cdn.plant-for-the-planet.org/staging/media/fonts/salesforce/salesforce-sans.css?v1.0"). Use Document instead. 
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component

This will need some refactoring of _document to resolve, and does not affect functionality

Is it on a Production or Development Build?
Only seen locally

To Reproduce
Run the develop branch with client sf

@mohitb35 mohitb35 added the bug Something isn't working label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant