wip fix
This commit is contained in:
parent
284fedc5c4
commit
148196f626
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue