Support quoted tombstone
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import QuotedStatus from 'soapbox/components/quoted-status';
|
||||
import Tombstone from 'soapbox/components/tombstone';
|
||||
import { useAppSelector } from 'soapbox/hooks';
|
||||
import { makeGetStatus } from 'soapbox/selectors';
|
||||
|
||||
@ -18,6 +19,10 @@ const QuotedStatusContainer: React.FC<IQuotedStatusContainer> = ({ statusId }) =
|
||||
return null;
|
||||
}
|
||||
|
||||
if (status.tombstone) {
|
||||
return <Tombstone id={status.id} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<QuotedStatus
|
||||
status={status}
|
||||
|
||||
Reference in New Issue
Block a user