about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2022-10-06 22:53:14 -0500
committerGitHub <noreply@github.com>2022-10-07 05:53:14 +0200
commit99a43f0282d5115b75a564205ca7d2db31a3a945 (patch)
treea01ff879262395d51d675d2fed3e9749e97b913a /app
parent402ee73e24ea816ab1602405cd0046ecd5e7bfd5 (diff)
Fix #19304 (#19305)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/report/category.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/report/category.js b/app/javascript/mastodon/features/report/category.js
index 9215b3f51..3658bb707 100644
--- a/app/javascript/mastodon/features/report/category.js
+++ b/app/javascript/mastodon/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)