diff --git a/src/components/Account/SessionsTabs.tsx b/src/components/Account/SessionsTabs.tsx index 9356aaa..f9c5ca1 100644 --- a/src/components/Account/SessionsTabs.tsx +++ b/src/components/Account/SessionsTabs.tsx @@ -3,7 +3,6 @@ import React, { useCallback, useEffect, useState } from 'react'; import styled from 'styled-components'; import * as dayjs from 'dayjs'; -import * as isToday from 'dayjs/plugin/isToday'; import 'dayjs/locale/ru'; import 'dayjs/locale/en'; import 'dayjs/locale/de'; @@ -16,8 +15,6 @@ import { AUTH_TOKEN_KEY, AUTH_USER } from '../../constants/common'; import { getRecentSessions, getRequestedSessions, getUpcomingSessions } from '../../actions/profile'; import { Session, Sessions, SessionType } from '../../types/sessions'; -dayjs.extend(isToday); - const Tab = styled.div``; export const SessionsTabs = ({ intlConfig, locale }: { intlConfig: Record, locale: string }) => { @@ -83,7 +80,7 @@ export const SessionsTabs = ({ intlConfig, locale }: { intlConfig: Record