feat: substr api key

This commit is contained in:
karishmas6
2024-10-03 05:19:14 +05:30
parent 44523d4ddf
commit 55eebb95a6

View File

@@ -104,7 +104,7 @@ const ApiKeyManager = () => {
<TableBody>
<TableRow>
<TableCell>{apiKeyName}</TableCell>
<TableCell>{showKey ? apiKey : '****************'}</TableCell>
<TableCell>{showKey ? `${apiKey?.substring(0, 10)}...` : '****************'}</TableCell>
<TableCell>
<Tooltip title="Copy API Key">
<IconButton onClick={copyToClipboard}>