Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: in case total chars doesn't exists or it's wrong

Nevo David494df9c3db9d
diff --git a/apps/frontend/src/components/new-launch/editor.tsx b/apps/frontend/src/components/new-launch/editor.tsx
index bef4795c1..07732ee6f 100644
--- a/apps/frontend/src/components/new-launch/editor.tsx
+++ b/apps/frontend/src/components/new-launch/editor.tsx
@@ -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',