[Glitch] Fix crash in report modal

Port 99a43f0282 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/1861/head
trwnh 2022-10-06 22:53:14 -05:00 committed by Claire
parent 757e16a0b5
commit 0d0fac939d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const messages = defineMessages({
});
const mapStateToProps = state => ({
rules: state.get('rules'),
rules: state.getIn(['server', 'rules']),
});
export default @connect(mapStateToProps)