Merge pull request #4 from RecentRunner/mason

fixing merge issues
This commit is contained in:
Mason
2026-05-23 22:04:25 -06:00
committed by GitHub

View File

@@ -226,7 +226,7 @@ export async function toggleHabitCompletion(habitId: string): Promise<Habit[]> {
}
const [reconciledHabit] = await reconcileMissedDayStreaks([habit as HabitRow]);
let currentStreak = reconciledHabit.streak;
const currentStreak = reconciledHabit.streak;
const { data: existingLog, error: existingLogError } = await supabase
.from("habit_logs")