fix(deps): update dependency date-fns to v3 (#3619)
* fix(deps): update dependency date-fns to v3 * fix(deps): update usage of date-fns format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
Tooltip,
|
||||
} from 'antd';
|
||||
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns';
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
import {
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState, useEffect, ReactElement } from 'react';
|
||||
import { Table, Typography, Button } from 'antd';
|
||||
import classNames from 'classnames';
|
||||
import { ColumnsType } from 'antd/es/table';
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns';
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
import { MessageType } from '../../../types/chat';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { ReactElement, useEffect, useState } from 'react';
|
||||
import { Table, Typography } from 'antd';
|
||||
import { ColumnsType } from 'antd/lib/table/interface';
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns';
|
||||
import { FEDERATION_ACTIONS, fetchData } from '../../../utils/apis';
|
||||
|
||||
import { isEmptyObject } from '../../../utils/format';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState, useContext, ReactElement } from 'react';
|
||||
import { Table, Avatar, Button, Tabs } from 'antd';
|
||||
import { ColumnsType, SortOrder } from 'antd/lib/table/interface';
|
||||
import format from 'date-fns/format';
|
||||
import { format } from 'date-fns';
|
||||
import dynamic from 'next/dynamic';
|
||||
import { ServerStatusContext } from '../../../utils/server-status-context';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user