refactor(profile): remove Matches count from public profile stats
- Remove Matches stat display from public profile - Keep only Rating and Reviews stats visible - Remove unused Users icon import
This commit is contained in:
@@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
|
||||
import { useParams, Link } from 'react-router-dom';
|
||||
import { authAPI, ratingsAPI } from '../services/api';
|
||||
import Layout from '../components/layout/Layout';
|
||||
import { User, MapPin, Globe, Hash, Youtube, Instagram, Facebook, Award, Users, Star, Calendar, Loader2, ThumbsUp } from 'lucide-react';
|
||||
import { User, MapPin, Globe, Hash, Youtube, Instagram, Facebook, Award, Star, Calendar, Loader2, ThumbsUp } from 'lucide-react';
|
||||
import Avatar from '../components/common/Avatar';
|
||||
import NotFoundPage from './NotFoundPage';
|
||||
|
||||
@@ -107,11 +107,6 @@ const PublicProfilePage = () => {
|
||||
|
||||
{/* Stats */}
|
||||
<div className="flex gap-6 mb-4">
|
||||
<div className="flex items-center gap-2">
|
||||
<Users className="w-5 h-5 text-primary-600" />
|
||||
<span className="font-semibold">{profile.stats.matchesCount}</span>
|
||||
<span className="text-gray-600">Matches</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<Star className="w-5 h-5 text-yellow-500" />
|
||||
<span className="font-semibold">{profile.stats.rating}</span>
|
||||
|
||||
Reference in New Issue
Block a user