chore: fix format

This commit is contained in:
amhsirak
2024-12-20 20:28:24 +05:30
parent 6904933036
commit 8ba928dae6

View File

@@ -63,8 +63,8 @@ export const getElementInformation = async (
selectedValue: selectElement.value, selectedValue: selectElement.value,
}; };
} else if (element?.tagName === 'INPUT' && } else if (element?.tagName === 'INPUT' &&
((element as HTMLInputElement).type === 'time' || ((element as HTMLInputElement).type === 'time' ||
(element as HTMLInputElement).type === 'date')) { (element as HTMLInputElement).type === 'date')) {
info.innerText = (element as HTMLInputElement).value; info.innerText = (element as HTMLInputElement).value;
} else { } else {
info.hasOnlyText = element?.children?.length === 0 && info.hasOnlyText = element?.children?.length === 0 &&