From: trwnh Date: Fri, 7 Oct 2022 03:53:14 +0000 (-0500) Subject: [Glitch] Fix crash in report modal X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=64864df013519e944323b7a3b7ec99a364dc7aed;p=mastodon.git [Glitch] Fix crash in report modal Port 99a43f0282d5115b75a564205ca7d2db31a3a945 to glitch-soc Signed-off-by: Claire --- diff --git a/app/javascript/flavours/glitch/features/report/category.js b/app/javascript/flavours/glitch/features/report/category.js index bea21b1b7..43fb7a17c 100644 --- a/app/javascript/flavours/glitch/features/report/category.js +++ b/app/javascript/flavours/glitch/features/report/category.js @@ -20,7 +20,7 @@ const messages = defineMessages({ }); const mapStateToProps = state => ({ - rules: state.get('rules'), + rules: state.getIn(['server', 'rules']), }); export default @connect(mapStateToProps)