summaryrefslogtreecommitdiff
path: root/frontend/app/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/page.tsx')
-rw-r--r--frontend/app/page.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx
index 07bdfa4..5c14488 100644
--- a/frontend/app/page.tsx
+++ b/frontend/app/page.tsx
@@ -11,6 +11,7 @@ import { KPIStrip } from "@/components/prism/KPIStrip";
import { Sidebar } from "@/components/prism/Sidebar";
import { TickerHeader } from "@/components/prism/TickerHeader";
import { TopBar } from "@/components/prism/TopBar";
+import { PriceVsValueCard } from "@/components/prism/PriceVsValueCard";
import { QualityCard } from "@/components/prism/QualityCard";
import { ValuationOverviewCard } from "@/components/prism/ValuationOverviewCard";
import { VolumeCard } from "@/components/prism/VolumeCard";
@@ -76,6 +77,8 @@ function OverviewClient() {
setOverviewError(null);
setChartError(null);
setWatchlistError(null);
+ setValuation(null);
+ setValState("idle");
setOverviewState("loading");
setChartState("loading");
@@ -107,6 +110,8 @@ function OverviewClient() {
setOverviewError(null);
setChartError(null);
setWatchlistError(null);
+ setValuation(null);
+ setValState("idle");
setOverviewState("idle");
setChartState("idle");
startTransition(() => {
@@ -345,6 +350,7 @@ function OverviewClient() {
<ChartCard symbol={overview.profile.symbol} period={period} points={history} chartState={chartState} chartError={chartError} onChangePeriod={setPeriod} />
<VolumeCard overview={overview} />
<SignalCard overview={overview} />
+ <PriceVsValueCard overview={overview} valuation={valuation} valState={valState} />
</div>
<div className="psm-column">
<ProfileCard overview={overview} />