Skip to content

Commit

Permalink
move property check
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Dec 27, 2023
1 parent ac65052 commit 5e47dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion form/index.js
Expand Up @@ -74,7 +74,7 @@ export class TonicForm extends Tonic {
for (const element of elements) {
element.value = ''

if (element?.state.edited) {
if (element.state?.edited) {
element.state.edited = false
element.removeAttribute('edited')
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@socketsupply/components",
"version": "14.0.11",
"version": "14.0.12",
"description": "Example components",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 5e47dd4

Please sign in to comment.