This commit is contained in:
24c02 2026-01-30 14:57:40 -05:00
parent 8b94f3fe61
commit afcceddb6a

View file

@ -32,8 +32,7 @@ class Components::APIKeys::Index < Components::Base
end end
def new_token_alert def new_token_alert
render Primer::Beta::Flash.new(scheme: :success, mb: 4) do |component| render Primer::Beta::Flash.new(scheme: :success, icon: :check, mb: 4) do |component|
component.with_icon(icon: :check)
div do div do
p(style: "margin: 0 0 8px; font-weight: 600;") { "API key created successfully!" } p(style: "margin: 0 0 8px; font-weight: 600;") { "API key created successfully!" }
p(style: "margin: 0 0 8px;") { "Copy your API key now. You won't be able to see it again!" } p(style: "margin: 0 0 8px;") { "Copy your API key now. You won't be able to see it again!" }