parent
4d219581d0
commit
c8cedef8fb
|
@ -33,6 +33,7 @@ export default function SetList() {
|
||||||
const predict = useCallback(async () => {
|
const predict = useCallback(async () => {
|
||||||
setCount(0);
|
setCount(0);
|
||||||
setSet({...defaultSet});
|
setSet({...defaultSet});
|
||||||
|
setWorkouts([]);
|
||||||
if (settings.newSet === 'empty') return;
|
if (settings.newSet === 'empty') return;
|
||||||
const todaysSet = await getToday();
|
const todaysSet = await getToday();
|
||||||
console.log(`${SetList.name}.predict:`, {todaysSet});
|
console.log(`${SetList.name}.predict:`, {todaysSet});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user