fix: lazy-load BETTER_AUTH_SECRET para corrigir Docker build

Validação eager do secret no top-level do módulo causava falha no
build Docker porque a env var não existe em build-time. Movido para
função getJwtSecret() chamada em runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-02-15 22:35:51 +00:00
parent 89366e5c8b
commit 98dd0f11e1
4 changed files with 16 additions and 13 deletions

View File

@@ -34,10 +34,8 @@ export function CategoryCell({
// Despesa: aumento é ruim (vermelho), diminuição é bom (verde)
// Receita: aumento é bom (verde), diminuição é ruim (vermelho)
const isPositive =
categoryType === "receita" ? isIncrease : isDecrease;
const isNegative =
categoryType === "receita" ? isDecrease : isIncrease;
const isPositive = categoryType === "receita" ? isIncrease : isDecrease;
const isNegative = categoryType === "receita" ? isDecrease : isIncrease;
return (
<Tooltip>