USEPA / the-manifest-game

Interactive decision tree to help e-Manifest users
https://usepa.github.io/the-manifest-game/
MIT License
1 stars 1 forks source link

Render help content #85

Closed dpgraham4401 closed 5 months ago

dpgraham4401 commented 5 months ago

In the store we hold information on which node the user is currently looking for more information on. when the help content ID information changes, we need to fetch the help content and (using the existing useFetchHelp custom hook) and render it.

Ideally, we render more useful information than just help, but if we're going to use a different content type like markdown or HTML, we need to make sure that we sanitize the inner set HTML. First, we need to check if that's safe to do.