Implement Phase 3 tasks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-06 15:46:56 +00:00
parent badf3507de
commit 9380c8fd68
6 changed files with 49 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ import { useAuth } from '@/hooks/useAuth';
import { useUserRole } from '@/hooks/useUserRole';
import { toast } from '@/hooks/use-toast';
import { submitCompanyUpdate } from '@/lib/companyHelpers';
import { VersionIndicator } from '@/components/versioning/VersionIndicator';
export default function DesignerDetail() {
const { slug } = useParams<{ slug: string }>();
@@ -168,6 +169,13 @@ export default function DesignerDetail() {
{designer.headquarters_location}
</div>
)}
<div className="mt-3">
<VersionIndicator
entityType="company"
entityId={designer.id}
entityName={designer.name}
/>
</div>
</div>
{designer.average_rating > 0 && (