diff --git a/exercises/05.actions/01.problem.action-reference/ui/edit-text.js b/exercises/05.actions/01.problem.action-reference/ui/edit-text.js index 06bc1aa..32499d3 100644 --- a/exercises/05.actions/01.problem.action-reference/ui/edit-text.js +++ b/exercises/05.actions/01.problem.action-reference/ui/edit-text.js @@ -22,6 +22,8 @@ export function EditableText({ id, shipId, initialValue = '' }) { const buttonRef = useRef(null) return h( 'div', + // 🐨 set the style prop on this div to decrease the opacity when the form is submitting + // something like { opacity: isPending ? 0.6 : 1 } should work null, edit ? h(