π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix: mark posts with errors
Nevo Davidd8386efc5239
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsxindex bf126b4c9..ca728a4ec 100644--- a/apps/frontend/src/components/launches/calendar.tsx+++ b/apps/frontend/src/components/launches/calendar.tsx@@ -999,11 +999,24 @@ const CalendarItem: FC<{<div// @ts-ignoreref={dragRef}- className={clsx('w-full flex h-full flex-1 flex-col group', 'relative')}+ className={clsx(+ 'w-full flex h-full flex-1 flex-col group',+ 'relative',+ state === 'ERROR' && 'rounded-[10px] ring-2 ring-red-500'+ )}style={{opacity,}}>+ {state === 'ERROR' && (+ <div+ className="absolute -top-[6px] -left-[6px] z-20 w-[18px] h-[18px] rounded-full bg-red-500 flex items-center justify-center text-white text-[11px] font-bold cursor-pointer"+ data-tooltip-id="tooltip"+ data-tooltip-content={post.error || 'An error occurred while publishing this post'}+ >+ !+ </div>+ )}<divclassName={clsx('text-white text-[11px] max-h-[24px] h-[24px] min-h-[24px] w-full rounded-tr-[10px] rounded-tl-[10px] flex items-center justify-center gap-[10px] px-[5px] bg-btnPrimary'