-
Edit business
-
-
-
- {["name", "sector", "decision_maker_name", "decision_maker_title", "phone", "email", "linkedin", "est_monthly_volume", "zimx_fit_score", "key_suppliers", "key_customers", "pain_points"].map((k) => (
-
setForm((p) => ({ ...p, [k]: e.target.value }))} />
- ))}
-
+ {editing ? (
+
+ {["name", "sector", "decision_maker_name", "decision_maker_title", "phone", "email", "linkedin", "est_monthly_volume", "zimx_fit_score", "key_suppliers", "key_customers", "pain_points"].map((k) => (
+ setForm((p) => ({ ...p, [k]: e.target.value }))} />
+ ))}
+
+ ) : (
+
+
{selected.name}
+
{selected.sector}
+
{selected.notes ?? "No notes."}
+
+ )}
Photos
@@ -448,7 +462,6 @@ export default function MapView({
type="file"
className="hidden"
accept="image/*"
- capture="environment"
onChange={(e) => {
const file = e.target.files?.[0];
if (file) void handlePhotoUpload(file);
@@ -456,7 +469,7 @@ export default function MapView({
}}
/>
-
setEditing(false)}>Cancel : null}
) : null}
{interactionBusinessId ?
b.id === interactionBusinessId)?.name ?? "Business"} onClose={() => setInteractionBusinessId(null)} onSaved={() => {}} /> : null}
- {selectedCandidate ?
+ {selectedCandidate ?
UNVERIFIED — Bot Discovery
setSelectedCandidate(null)}>Close