[Glitch] Refactor "copy to clipboard" functionality into hook

Port bd2e86d7f4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion authored and Claire committed 2026-05-27 20:09:25 +02:00
1 parent daf498a743
commit 2d58ea3d50
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 'flavours/glitch/components/copy_icon_button';
import { CopyIconButton } from '@/flavours/glitch/components/copy_button';
import classes from './copy_link_field.module.scss';
import { FormFieldWrapper } from './form_field_wrapper';