Skip to content

Commit

Permalink
Env is good
Browse files Browse the repository at this point in the history
  • Loading branch information
ks0m1c_dharma committed Sep 23, 2024
1 parent 5fb1c6a commit ffaab83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vyasa_web/components/contexts/read.ex
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ defmodule VyasaWeb.Context.Read do
def debug_dump(assigns) do
~H"""
<div
:if={unquote(Mix.env() == :dev)}
:if={System.get_env("MIX_ENV") !== "prod"}
class="fixed top-0 left-0 m-4 p-4 bg-white border border-gray-300 rounded-lg shadow-lg max-w-md max-h-80 overflow-auto z-50"
>
<h2 class="text-lg font-bold mb-2">Developer Dump</h2>
Expand Down

0 comments on commit ffaab83

Please sign in to comment.