Baoyuantop commented on PR #3398:
URL:
https://github.com/apache/apisix-dashboard/pull/3398#issuecomment-4599667088
The direction looks right: replacing `atomWithStorage('settings:adminKey',
..., { getOnInit: true })` in `src/stores/global.ts` with a plain
`atom<string>('')` stops new admin key writes from being persisted through
Jotai storage. The current call sites also fit this change: `src/config/req.ts`
only reads the atom to set the Admin API header, and
`src/components/page/SettingsModal.tsx` still updates it through
`useAtom(adminKeyAtom)`.
Once CI is successfully executed, we can proceed with merging this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]