Skip to content

Commit

Permalink
fix: add comment prompting adding isPending styling (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
acburdine authored Nov 21, 2024
1 parent 0c6a815 commit 138d5e3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 138d5e3

Please sign in to comment.