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

TypeError: next_font_local__WEBPACK_IMPORTED_MODULE_0___default(...) is not a function when used "use client" #98

Closed
1 of 2 tasks
kriptonian1 opened this issue Apr 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kriptonian1
Copy link

Font Name (Geist Sans/Geist Mono):

  • Geist Sans
  • Geist Mono

Description of the Issue:
whenever I am using geist/font/sans within a client side section, it is throwing the error TypeError: next_font_local__WEBPACK_IMPORTED_MODULE_0___default(...) is not a function

Steps to Reproduce:

  1. Import GeistSans from geist/font/sans
  2. Use it in a className
  3. add use client to the component.

Expected Behavior:
It was expected to load the the component without any error

Screenshots:
image

Environment (please complete the following information):

  • OS: MacOS & Linux
  • Version of the Font: ^1.2.2

Additional Context:
Add any other context about the problem here.

@kriptonian1 kriptonian1 added the bug Something isn't working label Apr 5, 2024
@kriptonian1
Copy link
Author

This worked for me #59 (comment)

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