about summary refs log tree commit diff
path: root/src/view/screens/Moderation.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens/Moderation.tsx')
-rw-r--r--src/view/screens/Moderation.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/view/screens/Moderation.tsx b/src/view/screens/Moderation.tsx
index eb952c068..37eecf22d 100644
--- a/src/view/screens/Moderation.tsx
+++ b/src/view/screens/Moderation.tsx
@@ -5,7 +5,6 @@ import {
   FontAwesomeIcon,
   FontAwesomeIconStyle,
 } from '@fortawesome/react-native-fontawesome'
-import {observer} from 'mobx-react-lite'
 import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types'
 import {withAuthRequired} from 'view/com/auth/withAuthRequired'
 import {s} from 'lib/styles'
@@ -21,7 +20,7 @@ import {useModalControls} from '#/state/modals'
 
 type Props = NativeStackScreenProps<CommonNavigatorParams, 'Moderation'>
 export const ModerationScreen = withAuthRequired(
-  observer(function Moderation({}: Props) {
+  function Moderation({}: Props) {
     const pal = usePalette('default')
     const setMinimalShellMode = useSetMinimalShellMode()
     const {screen, track} = useAnalytics()
@@ -111,7 +110,7 @@ export const ModerationScreen = withAuthRequired(
         </Link>
       </CenteredView>
     )
-  }),
+  },
 )
 
 const styles = StyleSheet.create({