Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix(ds): sync-settings env notice used undefined warning-* classes -> DS::Alert (#2278)

Guillem Arias Fauste74d0452a2b7a
diff --git a/app/views/settings/hostings/_sync_settings.html.erb b/app/views/settings/hostings/_sync_settings.html.erb
index 82cfb86eff..44abd18cbb 100644
--- a/app/views/settings/hostings/_sync_settings.html.erb
+++ b/app/views/settings/hostings/_sync_settings.html.erb
@@ -52,13 +52,6 @@
</div>
<% if env_configured %>
- <div class="bg-warning-50 border border-warning-200 rounded-lg p-3">
- <div class="flex items-start gap-2">
- <%= icon("alert-circle", class: "w-5 h-5 text-warning-600 mt-0.5 shrink-0") %>
- <p class="text-sm text-warning-800">
- <%= t(".env_configured_message") %>
- </p>
- </div>
- </div>
+ <%= render DS::Alert.new(message: t(".env_configured_message"), variant: :warning) %>
<% end %>
</div>