Refactor "copy to clipboard" functionality into hook (#39180)

This commit is contained in:
diondiondion authored and GitHub committed 2026-05-27 10:03:45 +00:00
1 parent 5f998507ec
commit bd2e86d7f4
5 files changed
+97 -77

No files matched your search

@@ -4,7 +4,7 @@ import { useIntl } from 'react-intl';
import classNames from 'classnames';
import { CopyIconButton } from 'mastodon/components/copy_icon_button';
import { CopyIconButton } from '@/mastodon/components/copy_button';
import classes from './copy_link_field.module.scss';
import { FormFieldWrapper } from './form_field_wrapper';