diff --git a/components/dashboard/DashboardProfile.tsx b/components/dashboard/DashboardProfile.tsx index f8ed992..8a1d214 100644 --- a/components/dashboard/DashboardProfile.tsx +++ b/components/dashboard/DashboardProfile.tsx @@ -1,7 +1,7 @@ "use client"; import React, { useState, useEffect } from 'react'; -import { Image as ImageIcon, Sparkles, Youtube, X, Globe, Facebook, Linkedin, Instagram, CheckCircle, AlertCircle, Hash } from 'lucide-react'; +import { Image as ImageIcon, Sparkles, Youtube, X, Globe, Facebook, Linkedin, Instagram, Twitter, CheckCircle, AlertCircle, Hash } from 'lucide-react'; import { Business, Country } from '../../types'; import TagInput from '../TagInput'; import { generateBusinessDescription } from '../../lib/geminiService'; @@ -42,6 +42,7 @@ const normalizeBusinessData = (b: Business): Business => ({ facebook: b.socialLinks?.facebook || '', linkedin: b.socialLinks?.linkedin || '', instagram: b.socialLinks?.instagram || '', + twitter: b.socialLinks?.twitter || '', website: b.socialLinks?.website || '', } }); @@ -721,6 +722,12 @@ const DashboardProfile = ({ business, setBusiness }: { business: Business, setBu handleSocialChange('instagram', e.target.value)} className="flex-1 min-w-0 block w-full px-3 py-2 rounded-none rounded-r-md focus:ring-brand-500 focus:border-brand-500 sm:text-sm border-gray-300" /> +