Use status ID instead of passing status objects (#39727)
This commit is contained in:
16 files changed
+145
-157
No files matched your search
@@ -109,7 +109,7 @@ export const EmbeddedStatus: React.FC<{ statusId: string }> = ({
|
||||
</div>
|
||||
|
||||
<ContentWarning
|
||||
status={status}
|
||||
statusId={status.get('id') as string}
|
||||
onClick={handleContentWarningClick}
|
||||
expanded={expanded}
|
||||
/>
|
||||
|
||||
@@ -471,7 +471,7 @@ export const DetailedStatus: React.FC<{
|
||||
|
||||
{(!matchedFilters || showDespiteFilter) && (
|
||||
<ContentWarning
|
||||
status={status}
|
||||
statusId={status.get('id')}
|
||||
expanded={expanded}
|
||||
onClick={handleExpandedToggle}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user