Need link for ancestors too

This commit is contained in:
Lim Chee Aun 2023-08-01 19:24:12 +08:00
parent e7f624c33c
commit 75cfd02134

View file

@ -845,7 +845,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
const isHero = statusID === id; const isHero = statusID === id;
const StatusParent = useCallback( const StatusParent = useCallback(
(props) => (props) =>
isThread || thread ? ( isThread || thread || ancestor ? (
<Link <Link
class="status-link" class="status-link"
to={ to={