fixing merge issues

This commit is contained in:
masongga
2026-05-23 22:03:41 -06:00
parent c86b04b3c8
commit f51b73bec4

View File

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