From fc6f5e3b53a74478ffede45e7dcb5acd77b73d37 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sat, 24 Dec 2022 13:18:03 +1300 Subject: [PATCH] Add missing key prop to SettingsPage --- SettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SettingsPage.tsx b/SettingsPage.tsx index 06ee7a3..df4639e 100644 --- a/SettingsPage.tsx +++ b/SettingsPage.tsx @@ -48,7 +48,6 @@ export default function SettingsPage() { useFocusEffect( useCallback(() => { settingsRepo.findOne({where: {}}).then(settings => { - console.log(`${SettingsPage.name}.focus:`, settings) setAlarm(settings.alarm) setVibrate(settings.vibrate) setSound(settings.sound) @@ -232,6 +231,7 @@ export default function SettingsPage() { const renderSelect = useCallback( (item: Input) => (