mirror of
https://github.com/supabase/supabase.git
synced 2026-06-21 00:56:03 +08:00
Fix a UI display issue for the JWT generator: when the dropdown is used to switch between the anon and service role key, the displayed JWT claims did not change. The actual state changes, and the keys generated are correct, but they just don't display because the text area is controlled andd oesn't sync with the state. Changed the text are to take a key dependent on the state so the displayed UI should change properly. Does _not_ affect the actually generated API keys. Double-checked that these are the same before and after.