diff --git a/web/components/feed/copy-link-date-time.tsx b/web/components/feed/copy-link-date-time.tsx index cea8300a..c5f943a1 100644 --- a/web/components/feed/copy-link-date-time.tsx +++ b/web/components/feed/copy-link-date-time.tsx @@ -6,7 +6,6 @@ import Link from 'next/link' import { fromNow } from 'web/lib/util/time' import { ToastClipboard } from 'web/components/toast-clipboard' import { LinkIcon } from '@heroicons/react/outline' -import clsx from 'clsx' export function CopyLinkDateTimeComponent(props: { prefix: string @@ -29,26 +28,19 @@ export function CopyLinkDateTimeComponent(props: { setTimeout(() => setShowToast(false), 2000) } return ( -
- - - copyLinkToComment(event)} - className={'mx-1 cursor-pointer'} - > - - {fromNow(createdTime)} - {showToast && ( - - )} - - - - - -
+ + + + {fromNow(createdTime)} + {showToast && } + + + + ) }