Reimplement sensitive checkbox

This commit is contained in:
Claire
2024-02-22 23:24:23 +01:00
parent 5fd50756b4
commit 380f4fc95c
5 changed files with 107 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import Upload from '../components/upload';
const mapStateToProps = (state, { id }) => ({
media: state.getIn(['compose', 'media_attachments']).find(item => item.get('id') === id),
sensitive: state.getIn(['compose', 'spoiler']),
sensitive: state.getIn(['compose', 'sensitive']),
});
const mapDispatchToProps = dispatch => ({