Bug: Second Half of Scrimba Lesson Does Not Work

The lesson is React State β†’ Format Recipe Response
Second half (solution) does not work if we use the function getRecipeFromMistral (which had worked before in the previous lesson).

Before providing blanket help suggestions to fix the problem, first try and confirm bug and verify your fix/suggestion in the lesson.

Not sure if this will live forever, but I slightly modified the end solution to use Mistral

The console bug says

!
SyntaxError: The requested module 'hast-util-to-jsx-runtime' does not provide an export named 'toJsxRuntime'
1 Like

Hi I am having the same issue, how did you modify the end solution? I have been using Mistral as well

Sorry for the delay in response guys. Teachers are a bit busy with some backend content releases but tagging @Tom_Chant here when he’s free as he might have more insight into this.