From 3286b6852b4ecf28d2a4f7dc8bc03745e7c08b26 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 9 Jul 2025 16:58:07 -0500 Subject: [PATCH] fix compile warnings --- CLAUDE.md | 1 + lib/aprsme_web/live/components/error_boundary.ex | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 600845c..5e43864 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -28,6 +28,7 @@ This is an Elixir Phoenix LiveView application that serves as a real-time APRS ( - `mix dialyzer` - Static type analysis (must run and fix errors/warnings) - `mix sobelow` - Security vulnerability scanning - **IMPORTANT**: Always run `mix format` before considering any task complete +- **MANDATORY**: Run `mix compile --warnings-as-errors` and ensure it passes before considering any task complete ### Assets (No Node.js) - `mix assets.deploy` - Build and minify frontend assets (Tailwind CSS + ESBuild) diff --git a/lib/aprsme_web/live/components/error_boundary.ex b/lib/aprsme_web/live/components/error_boundary.ex index 4848706..1c0defe 100644 --- a/lib/aprsme_web/live/components/error_boundary.ex +++ b/lib/aprsme_web/live/components/error_boundary.ex @@ -7,10 +7,6 @@ defmodule AprsmeWeb.Components.ErrorBoundary do """ use Phoenix.Component - import AprsmeWeb.CoreComponents - - alias Phoenix.LiveView.Socket - @doc """ Wraps content in an error boundary that catches and displays errors gracefully.