Skip to content

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

faet: remove comments

Nevo David70d07249d380
diff --git a/apps/frontend/src/components/new-launch/editor.tsx b/apps/frontend/src/components/new-launch/editor.tsx
index a28284f62..d14e3d630 100644
--- a/apps/frontend/src/components/new-launch/editor.tsx
+++ b/apps/frontend/src/components/new-launch/editor.tsx
@@ -612,13 +612,6 @@ export const Editor: FC<{
id={id}
>
<div className="relative cursor-text flex flex-1 flex-col">
- {/*{validateChars &&*/}
- {/* props.value.length === 0 &&*/}
- {/* pictures?.length === 0 && (*/}
- {/* <div className="px-3 text-sm bg-red-600 !text-white mb-[4px]">*/}
- {/* Your post should have at least one character or one image.*/}
- {/* </div>*/}
- {/* )}*/}
<div {...getRootProps()} className="flex flex-1 flex-col">
<div
className={clsx(
@@ -761,48 +754,6 @@ export const Editor: FC<{
</div>
</div>
</div>
- {/*<div className="flex">*/}
- {/* <div className="bottom-10px end-[25px]">*/}
- {/* {(props?.totalChars || 0) > 0 ? (*/}
- {/* <div*/}
- {/* className={clsx(*/}
- {/* 'text-end text-sm mt-1',*/}
- {/* valueWithoutHtml.length > props.totalChars && '!text-red-500'*/}
- {/* )}*/}
- {/* >*/}
- {/* {valueWithoutHtml.length}/{props.totalChars}*/}
- {/* </div>*/}
- {/* ) : (*/}
- {/* <div*/}
- {/* className={clsx(*/}
- {/* 'text-end text-sm mt-1 grid grid-cols-[max-content_max-content] gap-x-[5px]'*/}
- {/* )}*/}
- {/* >*/}
- {/* {selectedIntegration?.map((p) => (*/}
- {/* <Fragment key={p.integration.id}>*/}
- {/* <div*/}
- {/* className={*/}
- {/* valueWithoutHtml.length > chars?.[p.integration.id] &&*/}
- {/* '!text-red-500'*/}
- {/* }*/}
- {/* >*/}
- {/* {p.integration.name} ({capitalize(p.integration.identifier)}*/}
- {/* ):*/}
- {/* </div>*/}
- {/* <div*/}
- {/* className={*/}
- {/* valueWithoutHtml.length > chars?.[p.integration.id] &&*/}
- {/* '!text-red-500'*/}
- {/* }*/}
- {/* >*/}
- {/* {valueWithoutHtml.length}/{chars?.[p.integration.id]}*/}
- {/* </div>*/}
- {/* </Fragment>*/}
- {/* ))}*/}
- {/* </div>*/}
- {/* )}*/}
- {/* </div>*/}
- {/*</div>*/}
</div>
);
};