fix: linter issues

This commit is contained in:
Lei Nelissen
2023-04-23 01:15:07 +02:00
parent 2e816f4a71
commit 6ccfd19dea
3 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import { t } from '@localisation';
import { setReceivedErrorReportingAlert } from 'store/settings/actions';
import { setSentryStatus } from './Sentry';
import { useNavigation } from '@react-navigation/native';
import { ModalNavigationProp } from 'screens/types';
import { NavigationProp } from 'screens/types';
/**
* This will send out an alert message asking the user if they want to enable
@@ -13,7 +13,7 @@ import { ModalNavigationProp } from 'screens/types';
*/
export default function ErrorReportingAlert() {
const { hasReceivedErrorReportingAlert } = useTypedSelector(state => state.settings);
const navigation = useNavigation<ModalNavigationProp>();
const navigation = useNavigation<NavigationProp>();
const dispatch = useAppDispatch();
useEffect(() => {