Stop eslint clobbering code, add a comment for improvement
diff --git a/src/utils/database.ts b/src/utils/database.ts
index 67049cb..95cdb68 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -470,7 +470,7 @@
if (child.type === ComponentType.Button) {
obj.style = child.style;
obj.label = child.label ?? "";
- } else if (child.type > 2) {
+ } else if (child.type > 2) { // FIXME: Can we write this more clearly to make it obvious what we mean by 2 here?
obj.placeholder = child.placeholder ?? "";
}
return obj;