feat: in case total chars doesn't exists or it's wrong
This commit is contained in:
parent
2537d95d73
commit
494df9c3db
|
|
@ -451,7 +451,7 @@ export const Editor: FC<{
|
|||
/>
|
||||
)}
|
||||
</div>
|
||||
{props.totalChars > 0 && (
|
||||
{(props?.totalChars || 0) > 0 && (
|
||||
<div
|
||||
className={clsx(
|
||||
'text-end text-sm mt-1',
|
||||
|
|
|
|||
Loading…
Reference in New Issue