chore: fix linter

This commit is contained in:
Lei Nelissen
2023-06-19 22:26:41 +02:00
parent ac4388c927
commit 0c02467e26
61 changed files with 281 additions and 269 deletions

View File

@@ -1,8 +1,8 @@
import { useEffect } from 'react';
import { Alert } from 'react-native';
import { useAppDispatch, useTypedSelector } from 'store';
import { t } from '@localisation';
import { setReceivedErrorReportingAlert } from 'store/settings/actions';
import { useAppDispatch, useTypedSelector } from '@/store';
import { t } from '@/localisation';
import { setReceivedErrorReportingAlert } from '@/store/settings/actions';
import { setSentryStatus } from './Sentry';
import { useNavigation } from '@react-navigation/native';
import { NavigationProp } from 'screens/types';

View File

@@ -1,6 +1,6 @@
import TrackPlayer, { RepeatMode, State, Track } from 'react-native-track-player';
import { AppState, useTypedSelector } from 'store';
import { Album, AlbumTrack, SimilarAlbum } from 'store/music/types';
import { AppState, useTypedSelector } from '@/store';
import { Album, AlbumTrack, SimilarAlbum } from '@/store/music/types';
type Credentials = AppState['settings']['jellyfin'];

View File

@@ -8,7 +8,7 @@
*/
import TrackPlayer, { Event, State } from 'react-native-track-player';
import store from 'store';
import store from '@/store';
import { sendPlaybackEvent } from './JellyfinApi';
export default async function() {

View File

@@ -1,4 +1,4 @@
import { useTypedSelector } from 'store';
import { useTypedSelector } from '@/store';
import { useCallback } from 'react';
import TrackPlayer, { Track } from 'react-native-track-player';
import { generateTrack } from './JellyfinApi';