src/client/src/components/content/Content.js
/**
     * Copy the shortened url to the clipboard.
     * @param event
     */
Copy the shortened url to the clipboard.
@param event
Copy the shortened url to the clipboard . @param event
function copyToClipboard(event) {
        copy(url, {
            debug: true,
            format: 'text/plain',
        });
        setShortenMode(true);
        setUrl('');
        setShortenMessages('Copied.');
        setTimeout(() => {
            setShortenMessages(' ');
        }, 2000);
    }
function copyToClipboard ( event ) { copy ( url , { debug : true , format : 'text/plain' , } ) ; setShortenMode ( true ) ; setUrl ( '' ) ; setShortenMessages ( 'Copied.' ) ; setTimeout ( ( ) => { setShortenMessages ( ' ' ) ; } , 2000 ) ; }
Copy the shortened url to the clipboard.
Copy the shortened url to the clipboard .