|
|
|
@ -55,8 +55,7 @@ const AccessTokenSection = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<div className="mt-4 w-full flex flex-col justify-start items-start space-y-4">
|
|
|
|
|
<div className="mt-6 w-full flex flex-col justify-start items-start space-y-4">
|
|
|
|
|
<div className="w-full">
|
|
|
|
|
<div className="sm:flex sm:items-center sm:justify-between">
|
|
|
|
|
<div className="sm:flex-auto space-y-1">
|
|
|
|
@ -78,7 +77,7 @@ const AccessTokenSection = () => {
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="mt-2 flow-root">
|
|
|
|
|
<div className="flow-root">
|
|
|
|
|
<div className="overflow-x-auto">
|
|
|
|
|
<div className="inline-block min-w-full py-2 align-middle">
|
|
|
|
|
<table className="min-w-full divide-y divide-gray-300 dark:divide-zinc-600">
|
|
|
|
@ -106,12 +105,7 @@ const AccessTokenSection = () => {
|
|
|
|
|
<tr key={userAccessToken.accessToken}>
|
|
|
|
|
<td className="whitespace-nowrap px-3 py-2 text-sm text-gray-900 dark:text-gray-400 flex flex-row justify-start items-center gap-x-1">
|
|
|
|
|
<span className="font-mono">{getFormatedAccessToken(userAccessToken.accessToken)}</span>
|
|
|
|
|
<IconButton
|
|
|
|
|
color="neutral"
|
|
|
|
|
variant="plain"
|
|
|
|
|
size="sm"
|
|
|
|
|
onClick={() => copyAccessToken(userAccessToken.accessToken)}
|
|
|
|
|
>
|
|
|
|
|
<IconButton color="neutral" variant="plain" size="sm" onClick={() => copyAccessToken(userAccessToken.accessToken)}>
|
|
|
|
|
<Icon.Clipboard className="w-4 h-auto text-gray-400" />
|
|
|
|
|
</IconButton>
|
|
|
|
|
</td>
|
|
|
|
@ -145,7 +139,6 @@ const AccessTokenSection = () => {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|