DayJS Replacement

This commit is contained in:
Patrick Fic
2024-04-18 09:55:18 -07:00
parent 79a0881f5a
commit 7d7fe9819f
13 changed files with 131 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
import { message } from "antd";
import moment from "moment";
import dayjs from '../../util/day.js';
//import LogRocket from "logrocket";
import * as Sentry from "@sentry/electron";
import { all, call, delay, put, takeLatest } from "redux-saga/effects";
@@ -198,7 +198,7 @@ export function* checkForNotificationSaga() {
data: { notifications },
} = yield client.query({
query: QUERY_NOTIFICATIONS,
variables: { now: moment() },
variables: { now: dayjs() },
});
if (notifications) {