diff --git a/src/ui/settings/index.tsx b/src/ui/settings/index.tsx index 98e5dee..5ab5b5a 100644 --- a/src/ui/settings/index.tsx +++ b/src/ui/settings/index.tsx @@ -49,7 +49,7 @@ export default function initSettings() { title: "Vendetta Page", render: ({ render: PageView, ...options }: { render: React.ComponentType }) => { const navigation = NavigationNative.useNavigation(); - React.useEffect(() => options && navigation.setOptions(options)); + React.useEffect(() => options && navigation.setOptions(options), []); // TODO: Is wrapping this in ErrorBoundary a good idea? return ; }