Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/benchmark-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
// variantMap intentionally omitted: presence is re-checked inside the
// functional setState, a duplicate in-flight fetch is harmless.
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [effectiveChain, effectiveRegion, effectiveKind, aggregateBench]);
}, [effectiveChain, effectiveRegion, effectiveKind, effectiveVenue, aggregateBench]);

const benchmark = variantMap[activeKey] ?? aggregateBench;
// True while the selected chain/region/kind variant is still loading:
Expand Down Expand Up @@ -622,7 +622,7 @@
// not only on the timeseries view. Providers the panel has no value
// for (book could not fill the tier) drop out of the ranking, which
// is the skipped-not-extrapolated rule made visible.
const panelViewBenchmark = useMemo(() => {

Check failure on line 625 in src/components/benchmark-body.tsx

View workflow job for this annotation

GitHub Actions / check

React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
if (!activePanel) return viewBenchmark;
const vals = activePanel.values ?? {};
return {
Expand Down
2 changes: 1 addition & 1 deletion src/components/chain-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function Tab({
{info && (info.providers > 0 || info.leader) && (
<span
role="tooltip"
className="pointer-events-none absolute left-1/2 top-full z-30 mt-1.5 hidden -translate-x-1/2 w-[min(16rem,90vw)] rounded-md border border-rule bg-paper p-2.5 shadow-xl group-hover:block text-left normal-case tracking-normal"
className="pointer-events-none absolute left-1/2 top-full z-30 mt-1.5 hidden -translate-x-1/2 w-[min(16rem,90vw)] rounded-md border border-rule bg-paper p-2.5 shadow-xl [@media(hover:hover)]:group-hover:block text-left normal-case tracking-normal"
>
<p
className="text-[10px] font-medium uppercase tracking-[0.16em]"
Expand Down
Loading