Skip to content

Commit

Permalink
Linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wyne committed Nov 14, 2023
1 parent bca748e commit ec50f90
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/components/Headers/GameHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { selectGameById } from '../../../redux/GamesSlice';
import { systemBlue } from '../../constants';
import { Button } from 'react-native-elements';
import MenuButton from '../Buttons/MenuButton';
import FullscreenButton from '../Buttons/FullscreenButton';
import MultiplierButton from '../Buttons/MultiplierButton';
import CustomHeader from './CustomHeader';

Expand Down
2 changes: 1 addition & 1 deletion src/components/PlayerTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { selectGameById } from '../../redux/GamesSlice';
import { selectPlayerById } from '../../redux/PlayersSlice';
import { useAppSelector } from '../../redux/hooks';
import { TouchSurface } from './PlayerTiles/AdditionTile/TouchSurface';
import Animated, { Easing, FadeIn, SlideInDown } from 'react-native-reanimated';
import Animated, { Easing, FadeIn } from 'react-native-reanimated';

interface Props {
index: number;
Expand Down
11 changes: 3 additions & 8 deletions src/components/PlayerTiles/AdditionTile/AdditionTile.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import React, { useEffect } from 'react';
import React from 'react';
import { StyleSheet } from 'react-native';
import Animated, {
useSharedValue,
useAnimatedStyle,
withTiming,
withDelay,
} from 'react-native-reanimated';
import Animated from 'react-native-reanimated';

import { animationDuration, calculateFontSize } from './Helpers';
import { calculateFontSize } from './Helpers';
import ScoreBefore from './ScoreBefore';
import ScoreAfter from './ScoreAfter';
import ScoreRound from './ScoreRound';
Expand Down
3 changes: 1 addition & 2 deletions src/components/Rounds.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useEffect, useRef, useState, useCallback } from 'react';
import { SafeAreaView } from 'react-native-safe-area-context';
import { View, StyleSheet, ScrollView, Platform, LayoutChangeEvent } from 'react-native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { ParamListBase } from '@react-navigation/native';
Expand All @@ -19,7 +18,7 @@ interface RoundScollOffset {
[key: number]: number;
}

const Rounds: React.FunctionComponent<Props> = ({ navigation, show }) => {
const Rounds: React.FunctionComponent<Props> = ({ navigation }) => {
const [roundScollOffset, setRoundScrollOffset] = useState<RoundScollOffset>({});

const currentGameId = useAppSelector(state => state.settings.currentGameId);
Expand Down
1 change: 0 additions & 1 deletion src/screens/GameScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useAppSelector } from '../../redux/hooks';
import PlayerTile from '../components/PlayerTile';
import Rounds from '../components/Rounds';
import { selectGameById } from '../../redux/GamesSlice';
import { Button, Icon } from 'react-native-elements';
import { systemBlue } from '../constants';

interface Props {
Expand Down

0 comments on commit ec50f90

Please sign in to comment.