diff --git a/frontend/src/components/Logs/LogItem/index.tsx b/frontend/src/components/Logs/LogItem/index.tsx index 6ff69aa068..f6ee026e64 100644 --- a/frontend/src/components/Logs/LogItem/index.tsx +++ b/frontend/src/components/Logs/LogItem/index.tsx @@ -1,6 +1,6 @@ import { blue, grey, orange } from '@ant-design/colors'; import { CopyFilled, ExpandAltOutlined } from '@ant-design/icons'; -import { Button, Divider, Row, Typography } from 'antd'; +import { Button, Divider, notification, Row, Typography } from 'antd'; import { map } from 'd3'; import dayjs from 'dayjs'; import { FlatLogData } from 'lib/logs/flatLogData'; @@ -89,6 +89,9 @@ function LogItem({ logData }: LogItemProps): JSX.Element { const handleCopyJSON = (): void => { setCopy(JSON.stringify(logData, null, 2)); + notification.success({ + message: 'Copied to clipboard', + }); }; return (