From 99a43f0282d5115b75a564205ca7d2db31a3a945 Mon Sep 17 00:00:00 2001
From: trwnh <a@trwnh.com>
Date: Thu, 6 Oct 2022 22:53:14 -0500
Subject: [PATCH] Fix #19304 (#19305)

---
 app/javascript/mastodon/features/report/category.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/javascript/mastodon/features/report/category.js b/app/javascript/mastodon/features/report/category.js
index 9215b3f51e..3658bb7075 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)
-- 
GitLab