mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-27 18:57:28 +00:00
Fix API token status not updating after revocation
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/c07a5c90-34db-4fd9-90c6-129fafe92284.jpg
This commit is contained in:
@@ -264,7 +264,7 @@ export default function ApiTokensPage() {
|
|||||||
// Handle viewing token
|
// Handle viewing token
|
||||||
const handleViewToken = (token: ApiToken) => {
|
const handleViewToken = (token: ApiToken) => {
|
||||||
setSelectedToken(token);
|
setSelectedToken(token);
|
||||||
setViewingFullToken(false);
|
setViewingFullToken(false); // Start with token hidden
|
||||||
setIsViewTokenDialogOpen(true);
|
setIsViewTokenDialogOpen(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user