Skip to content

Commit

Permalink
ah.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby committed Mar 2, 2025
1 parent 479141b commit 2ec4fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { openModal } from 'flavours/blobfox/actions/modal';
import Options from '../components/options';

function mapStateToProps (state) {
const uploadLimit = getState().getIn(['server', 'server', 'configuration', 'statuses', 'max_media_attachments']);
const uploadLimit = state.getIn(['server', 'server', 'configuration', 'statuses', 'max_media_attachments']);
const poll = state.getIn(['compose', 'poll']);
const media = state.getIn(['compose', 'media_attachments']);
const pending_media = state.getIn(['compose', 'pending_media_attachments']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { openModal } from 'flavours/glitch/actions/modal';
import Options from '../components/options';

function mapStateToProps (state) {
const uploadLimit = getState().getIn(['server', 'server', 'configuration', 'statuses', 'max_media_attachments']);
const uploadLimit = state.getIn(['server', 'server', 'configuration', 'statuses', 'max_media_attachments']);
const poll = state.getIn(['compose', 'poll']);
const media = state.getIn(['compose', 'media_attachments']);
const pending_media = state.getIn(['compose', 'pending_media_attachments']);
Expand Down

0 comments on commit 2ec4fd2

Please sign in to comment.