diff --git a/src/components/pure-status.tsx b/src/components/pure-status.tsx index 4bb32d190..51e40d0f6 100644 --- a/src/components/pure-status.tsx +++ b/src/components/pure-status.tsx @@ -127,7 +127,7 @@ const PureStatus: React.FC = (props) => { } }, [overlay.current]); - // START: this is a temporary code, it will be removed + // TODO: remove this code, it will be removed once all components in this file are pure. useEffect(() => { dispatch(importFetchedStatuses([status])); }, []); @@ -136,7 +136,7 @@ const PureStatus: React.FC = (props) => { if (!statusImmutable) { return null; } - // END: this is a temporary code, it will be removed + // END TODO const handleToggleMediaVisibility = (): void => { setShowMedia(!showMedia); @@ -486,7 +486,7 @@ const PureStatus: React.FC = (props) => { {(quote || actualStatus.card || actualStatus.media_attachments.length > 0) && ( = (props) => { {(!hideActionBar && !isUnderReview) && (
- {/* fix later */} + {/* FIXME: stop using 'statusImmutable' and use 'status' variable directly, for that create a new component called 'PureStatusActionBar' */}
)}