Bump react-markdown from 6.0.3 to 7.0.1 (#313)

This commit is contained in:
Sy Tran Dung
2021-09-22 03:46:40 +07:00
committed by GitHub
parent ef11892708
commit 92c79ced92
3 changed files with 1153 additions and 569 deletions

View File

@@ -1,10 +1,9 @@
// This displays a clickable user name (or whatever children element you provide), and displays a simple tooltip of created time. OnClick a modal with more information about the user is displayed.
import { useState } from 'react';
import { useState, ReactNode } from 'react';
import { Divider, Modal, Tooltip, Typography, Row, Col } from 'antd';
import formatDistanceToNow from 'date-fns/formatDistanceToNow';
import format from 'date-fns/format';
import { ReactNode } from 'react-markdown';
import { uniq } from 'lodash';
import BlockUserbutton from './ban-user-button';