fix: gradient background on top charts

This commit is contained in:
Gabe Farrell 2026-01-26 13:02:50 -05:00
parent c8a11ef018
commit 17c0be20a4

View file

@ -40,7 +40,7 @@ export default function ChartLayout<T>({
useEffect(() => {
if ((data?.items?.length ?? 0) === 0) return;
const img = (data.items[0] as any)?.image;
const img = (data.items[0] as any)?.item.image;
if (!img) return;
average(imageUrl(img, "small"), { amount: 1 }).then((color) => {