From 29db5394f7fd0d9396b0667c3dff784757d1bf69 Mon Sep 17 00:00:00 2001 From: Matthias Nannt Date: Wed, 8 Feb 2023 13:11:21 +0100 Subject: [PATCH] fix filterNavigation warning, add database_urls to db:migrate:vercel in turbo.json --- apps/web/src/components/forms/shared/FilterNavigation.tsx | 2 +- turbo.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/forms/shared/FilterNavigation.tsx b/apps/web/src/components/forms/shared/FilterNavigation.tsx index 8755deb158..bae076b38b 100644 --- a/apps/web/src/components/forms/shared/FilterNavigation.tsx +++ b/apps/web/src/components/forms/shared/FilterNavigation.tsx @@ -128,7 +128,7 @@ export default function FilterNavigation({ }); setFilters(filters); } - }, [form]); + }, [form, limitFields]); if (isLoadingForm) { return ; diff --git a/turbo.json b/turbo.json index 30ed292581..25a4097c56 100644 --- a/turbo.json +++ b/turbo.json @@ -45,6 +45,7 @@ "outputs": [] }, "db:migrate:vercel": { + "env": ["MIGRATE_DATABASE_URL", "DATABASE_URL"], "outputs": [] }, "db:push": {