From 94c4c7f330860d5d5d016a510f9844f4e6ab5373 Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Wed, 15 Nov 2023 18:29:10 +0900 Subject: [PATCH] [Glitch] Fix open status on media modal Port 922f086253c8bfcead9df895f4624580d5b61a9c to glitch-soc Signed-off-by: Claire --- .../glitch/features/picture_in_picture/components/footer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/picture_in_picture/components/footer.jsx b/app/javascript/flavours/glitch/features/picture_in_picture/components/footer.jsx index 28dab45dcb..8fd2b98883 100644 --- a/app/javascript/flavours/glitch/features/picture_in_picture/components/footer.jsx +++ b/app/javascript/flavours/glitch/features/picture_in_picture/components/footer.jsx @@ -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 () {