remove statistick block

This commit is contained in:
smanylov
2026-04-23 15:12:39 +07:00
parent cbbfb1c6ad
commit cfb2f42e96
2 changed files with 17 additions and 3 deletions
@@ -46,7 +46,7 @@ export default function DashboardUserStats() {
<IconSearch />
</div>
</div>
<div className="stat-value">
{/* <div className="stat-value">
<div
className="loading-placeholder start"
>
@@ -58,13 +58,26 @@ export default function DashboardUserStats() {
filesInfo?.total.check ? filesInfo?.total.check : 0
)}
</div>
</div> */}
<div className="stat-value">
<div
className="loading-placeholder start"
>
{violationStatisticLoading ? (
<div className="loading-animation">
<div className="global-spinner" />
</div>
) : (
violationStatistic?.total_violations ?? 0
)}
</div>
</div>
<div className="stat-label">
{t('matches-found')}
</div>
</div>
<div className="stat-card violations">
<div className="stat-card violations hidden">
<div className="stat-header">
<div className="stat-icon">
<IconWarning />