mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor: remove explicit type
This commit is contained in:
1 parent
b5870f1642
commit
a5b3f10d6c
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@
|
||||
value: attribute.key,
|
||||
label: attribute.key
|
||||
}));
|
||||
let attributeList = [{ value: '', order: '' }] as Array<{ value: string; order: string }>;
|
||||
let attributeList = [{ value: '', order: '' }];
|
||||
|
||||
$: addAttributeDisabled = !attributeList.at(-1)?.value || !attributeList.at(-1)?.order;
|
||||
|
||||
|
||||
Reference in new issue
Block a user