Update local testing script and resolve errors

This commit is contained in:
adilallo
2026-01-29 20:57:39 -07:00
parent ca42982dea
commit adac7d0545
46 changed files with 209 additions and 136 deletions
@@ -96,11 +96,14 @@ const WebVitalsDashboardContainer = memo(() => {
}, []);
return (
<WebVitalsDashboardView vitals={vitals} metrics={metrics} loading={loading} />
<WebVitalsDashboardView
vitals={vitals}
metrics={metrics}
loading={loading}
/>
);
});
WebVitalsDashboardContainer.displayName = "WebVitalsDashboard";
export default WebVitalsDashboardContainer;
@@ -31,4 +31,3 @@ export interface WebVitalsDashboardViewProps {
metrics: Metrics;
loading: boolean;
}
@@ -111,9 +111,7 @@ function WebVitalsDashboardView({
<span className="text-yellow-600">
Needs Improvement: {data.needsImprovementCount}
</span>
<span className="text-red-600">
Poor: {data.poorCount}
</span>
<span className="text-red-600">Poor: {data.poorCount}</span>
</div>
</div>
</div>
@@ -155,4 +153,3 @@ function WebVitalsDashboardView({
}
export default WebVitalsDashboardView;
@@ -1,3 +1,2 @@
export { default } from "./WebVitalsDashboard.container";
export * from "./WebVitalsDashboard.types";