fix: API token deletion not reflected in cache until page reload (#1128)

Stops the API token copy card from continuing to appear when a newly created
token has been subsequently deleted.
This commit is contained in:
Chirag Chandrashekhar
2024-07-24 09:01:56 +05:30
committed by GitHub
parent c2374a9d65
commit 994f6867f5
3 changed files with 51 additions and 26 deletions

View File

@ -32,7 +32,7 @@ export default async function ApiTokensPage() {
<hr className="my-4" />
<ApiTokenForm className="max-w-xl" />
<ApiTokenForm className="max-w-xl" tokens={tokens} />
<hr className="mb-4 mt-8" />