[Glitch] Fix crash in report modal

Port 99a43f0282 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
a 2022-10-06 22:53:14 -05:00 committed by Claire
parent 757e16a0b5
commit 0d0fac939d

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)