Browse Source

Fix missing pictureInPicture prop in detailed status container (#15309)

closed-social-v3
Takeshi Umeda 3 years ago
committed by GitHub
parent
commit
f379a52d74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/javascript/mastodon/features/status/containers/detailed_status_container.js

+ 3
- 1
app/javascript/mastodon/features/status/containers/detailed_status_container.js View File

@ -1,6 +1,6 @@
import { connect } from 'react-redux';
import DetailedStatus from '../components/detailed_status';
import { makeGetStatus } from '../../../selectors';
import { makeGetStatus, makeGetPictureInPicture } from '../../../selectors';
import {
replyCompose,
mentionCompose,
@ -40,10 +40,12 @@ const messages = defineMessages({
const makeMapStateToProps = () => {
const getStatus = makeGetStatus();
const getPictureInPicture = makeGetPictureInPicture();
const mapStateToProps = (state, props) => ({
status: getStatus(state, props),
domain: state.getIn(['meta', 'domain']),
pictureInPicture: getPictureInPicture(state, props),
});
return mapStateToProps;

Loading…
Cancel
Save