diff --git a/app/react/components/buttons/CopyButton/CopyButton.tsx b/app/react/components/buttons/CopyButton/CopyButton.tsx
index c8699eb29..34af24f5b 100644
--- a/app/react/components/buttons/CopyButton/CopyButton.tsx
+++ b/app/react/components/buttons/CopyButton/CopyButton.tsx
@@ -1,6 +1,8 @@
import { PropsWithChildren } from 'react';
import clsx from 'clsx';
+import { Icon } from '@@/Icon';
+
import { Button } from '../Button';
import styles from './CopyButton.module.css';
@@ -31,7 +33,7 @@ export function CopyButton({
title="Copy Value"
type="button"
>
- {children}
+ {children}
-
+
{displayText && {displayText}}
diff --git a/app/react/portainer/account/CreateAccessTokenView/CreateAccessToken.tsx b/app/react/portainer/account/CreateAccessTokenView/CreateAccessToken.tsx
index 48341348f..f99cae8a1 100644
--- a/app/react/portainer/account/CreateAccessTokenView/CreateAccessToken.tsx
+++ b/app/react/portainer/account/CreateAccessTokenView/CreateAccessToken.tsx
@@ -74,18 +74,16 @@ export function CreateAccessToken({
/>
-
-
-
+
{accessToken && (
- <>
+
New access token
@@ -106,7 +104,7 @@ export function CreateAccessToken({
>
Done
- >
+
)}