Skip to content

Commit 494df9c

Browse files
committed
feat: in case total chars doesn't exists or it's wrong
1 parent 2537d95 commit 494df9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/new-launch/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export const Editor: FC<{
451451
/>
452452
)}
453453
</div>
454-
{props.totalChars > 0 && (
454+
{(props?.totalChars || 0) > 0 && (
455455
<div
456456
className={clsx(
457457
'text-end text-sm mt-1',

0 commit comments

Comments
 (0)