Fix linting errors in HomePage

This commit is contained in:
Brandon Presley 2022-07-10 17:41:26 +12:00
parent 5055c2782b
commit 5c65b283d3
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export default function HomePage() {
return setNewSet({...todaysSets[0], id: undefined, created});
console.log(`${HomePage.name}.onAdd: nextWorkout =`, nextWorkout);
setNewSet({created, name: nextWorkout});
}, []);
}, [getTodaysPlan, getTodaysSets, setNewSet, setShowNew]);
return (
<View style={styles.container}>