[Glitch] Fix open status on media modal

Port 922f086253 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Jeong Arm 2023-11-15 18:29:10 +09:00 committed by Claire
parent 3ad92e8d0d
commit 94c4c7f330

View file

@ -162,7 +162,7 @@ class Footer extends ImmutablePureComponent {
onClose();
}
history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`);
this.props.history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`);
};
render () {