Skip to content

Commit

Permalink
TODO for prod not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcknett committed Jan 13, 2024
1 parent ce24e2f commit 52b5c2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hooks/use-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import { checkedLogPath } from "../data/paths";
import { saveMruListAndDeleteDraft } from "./use-account";

export function useLogs(fBaseContext: IFirebaseContext, listName?: string | undefined, filterOldLogs: boolean = true) {

// TODO: This isn't working on prod data, possibly because it forgets what all the lists are.

const LOOKBACK_DAYS = 21;
const startDate = new Date();
startDate.setHours(0, 0, 0, 0);
Expand Down

0 comments on commit 52b5c2e

Please sign in to comment.