Set Tailwind Config value from API callback. #10476
Unanswered
Huvinesh-Rajendran-12
asked this question in
Help
Replies: 1 comment
-
|
In your fontAPI, you're calling the getFontConfig function when exporting it. Therefore, you export whatever the function returns, not the function itself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to set the value in the Tailwind config file from an API request callback, but I'm keep on getting this error which states the getFontConfig is not a function. Below is the code of the API callback.
Beta Was this translation helpful? Give feedback.
All reactions