widget uses LazyElemnt

This commit is contained in:
realaravinth
2021-07-21 21:02:03 +05:30
parent 5044d78378
commit 257b3a2b88
5 changed files with 42 additions and 82 deletions

View File

@@ -18,7 +18,7 @@ checkbox.id = CONST.btnId;
const getMessages = (state: string) => {
const msg = <HTMLElement>document.createElement('span');
msg.className = `widget__verification-text--${state}`;
msg.id = `widget__verification-text--${state}`;
return msg;
};