mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
refactor: update Prettier printWidth to 100 (#2684)
This commit is contained in:
@ -63,7 +63,11 @@ export const CopyButton: React.FC<CopyButtonProps> = ({
|
||||
onClick={copyToClipboard}
|
||||
size="small"
|
||||
>
|
||||
{isCopied ? <Check className={styles.fileCopyIcon} /> : <FileCopyIcon className={styles.fileCopyIcon} />}
|
||||
{isCopied ? (
|
||||
<Check className={styles.fileCopyIcon} />
|
||||
) : (
|
||||
<FileCopyIcon className={styles.fileCopyIcon} />
|
||||
)}
|
||||
{ctaCopy && <div className={styles.buttonCopy}>{ctaCopy}</div>}
|
||||
</IconButton>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user