We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e5c09 commit cdcaec8Copy full SHA for cdcaec8
package.json
@@ -59,6 +59,6 @@
59
},
60
"dependencies": {
61
"@xstate/react": "^0.8.1",
62
- "xstate": "^4.8.0"
+ "xstate": "^4.9.1"
63
}
64
src/InlineEdit.tsx
@@ -187,7 +187,7 @@ const InlineEdit: React.FC<InlineEditProps> = ({
187
// Render
188
// =========================
189
return (
190
- <div>
+ <>
191
{(current.value === 'view' ||
192
current.value === 'loading' ||
193
current.value === 'saved' ||
@@ -215,7 +215,7 @@ const InlineEdit: React.FC<InlineEditProps> = ({
215
handleBlur={handleBlur}
216
/>
217
)}
218
- </div>
+ </>
219
)
220
221
0 commit comments