diff --git a/lib/livebook_web/live/hub/file_system_form_component.ex b/lib/livebook_web/live/hub/file_system_form_component.ex index 4f7d6339a..df11a387b 100644 --- a/lib/livebook_web/live/hub/file_system_form_component.ex +++ b/lib/livebook_web/live/hub/file_system_form_component.ex @@ -91,7 +91,11 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do <.file_system_form_fields {assigns} />
- <.button type="submit" disabled={@disabled or not @form.source.valid?}> + <.button + type="submit" + disabled={@disabled or not @form.source.valid?} + > + <.spinner class="hidden phx-submit-loading:block mr-1" /> <.remix_icon icon={@button.icon} /> {@button.label}