This commit is contained in:
Rizky 2024-01-29 12:06:29 +07:00
parent 284fedc5c4
commit 148196f626
1 changed files with 10 additions and 7 deletions

View File

@ -55,7 +55,8 @@ export const EdPropInstanceText: FC<{
); );
}; };
const unquote = (text: string) => { const unquote = (text: any) => {
if (typeof text === "string") {
const str = text.trim(); const str = text.trim();
const first = str[0]; const first = str[0];
@ -65,6 +66,8 @@ const unquote = (text: string) => {
} }
} }
return str; return str;
}
return "";
}; };
export function AutoHeightTextarea({ export function AutoHeightTextarea({