Update local testing script and resolve errors
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user