DayJS Replacement
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user