From 88a29680734a2507a4d31483bf54306ced0d8aa5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 13:57:20 +0000 Subject: [PATCH] Changes Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com> --- src/components/PlansSection.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PlansSection.tsx b/src/components/PlansSection.tsx index 69bbc27..0f2147b 100644 --- a/src/components/PlansSection.tsx +++ b/src/components/PlansSection.tsx @@ -67,7 +67,7 @@ const PlansSection = () => { (async () => { const { data } = await supabase .from("profiles") - .select("company_name, phone, street_address, postal_code") + .select("company_name, phone, street_address, postal_code, city") .eq("user_id", user.id) .maybeSingle(); setForm((prev) => ({ @@ -77,6 +77,7 @@ const PlansSection = () => { telefon: prev.telefon || data?.phone || "", adress: prev.adress || data?.street_address || "", postnummer: prev.postnummer || data?.postal_code || "", + stad: prev.stad || data?.city || "", })); })(); }, [user, showForm]);