From b068e90597aca00f54b21752889a583a1efd5cb6 Mon Sep 17 00:00:00 2001 From: Justin Wyne <1986068+wyne@users.noreply.github.com> Date: Mon, 20 Jan 2025 10:56:26 -0800 Subject: [PATCH] More linter cleanup --- src/screens/EditPlayerScreen.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/screens/EditPlayerScreen.tsx b/src/screens/EditPlayerScreen.tsx index 9de5365..e23d948 100644 --- a/src/screens/EditPlayerScreen.tsx +++ b/src/screens/EditPlayerScreen.tsx @@ -46,14 +46,6 @@ const EditPlayerScreen: React.FC = ({ 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) => { const text = e.nativeEvent.text;