sensei
sensei copied to clipboard
Feedback on Help Section for Sensei Home.
Great! I am merging this and will work on your feedback in a separate review. Thanks!
Originally posted by @aaronfc in https://github.com/Automattic/sensei/issues/5895#issuecomment-1274839999
Aarón, sorry for the late suggestion in that same PR, but I think it would be nice to add an error handler too in that fetch. Just in case the fetch fails to fail gracefully. I imagine it would be pretty simple. In assets/setup-wizard/index.js I did it using the Notice component from @wordpress/components. You could probably just add a catch to the apiFetch , and save the error in a state. Just a suggestion. :slightly_smiling_face:
Sent through slack by @renatho
Closed by #5944.