Skip to content

Commit

Permalink
More linter cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wyne committed Jan 20, 2025
1 parent e7d619a commit b068e90
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/screens/EditPlayerScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ const EditPlayerScreen: React.FC<EditPlayerScreenProps> = ({
if (typeof currentGame == 'undefined') return null;
if (index == null) { return null; }

const [nameChanged] = useState(false);

useEffect(() => {
if (nameChanged) {
logEvent('player_name_changed');
}
}, [nameChanged]);

const onEndEditingHandler = (e: NativeSyntheticEvent<TextInputEndEditingEventData>) => {
const text = e.nativeEvent.text;

Expand Down

0 comments on commit b068e90

Please sign in to comment.