mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-05-06 05:38:51 +00:00
improve: replace long line of words with clipboard button (#95)
* improve: replace long line of words with clipboard button * change module path
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { swrFetcher } from "@/api/api"
|
||||
import { deleteNotification } from "@/api/notification"
|
||||
import { ActionButtonGroup } from "@/components/action-button-group"
|
||||
import { CopyButton } from "@/components/copy-button"
|
||||
import { HeaderButtonGroup } from "@/components/header-button-group"
|
||||
import { NotificationTab } from "@/components/notification-tab"
|
||||
import { NotifierCard } from "@/components/notifier"
|
||||
@@ -93,7 +94,7 @@ export default function NotificationPage() {
|
||||
accessorFn: (row) => row.url,
|
||||
cell: ({ row }) => {
|
||||
const s = row.original
|
||||
return <div className="max-w-64 whitespace-normal break-words">{s.url}</div>
|
||||
return <CopyButton text={s.url} />
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user