[Glitch] Fix crash in report modal

Port 99a43f0282 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main
trwnh 2 years ago committed by Claire
parent 757e16a0b5
commit 0d0fac939d

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

Loading…
Cancel
Save