mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-19 04:06:34 -07:00
fix gradient on rewind page
This commit is contained in:
parent
3df6af9aac
commit
4c386f81fb
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ export default function RewindPage() {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!stats.top_artists[0]) return;
|
if (!stats.top_artists[0]) return;
|
||||||
|
|
||||||
const img = (stats.top_artists[0] as any)?.image;
|
const img = (stats.top_artists[0] as any)?.item.image;
|
||||||
if (!img) return;
|
if (!img) return;
|
||||||
|
|
||||||
average(imageUrl(img, "small"), { amount: 1 }).then((color) => {
|
average(imageUrl(img, "small"), { amount: 1 }).then((color) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue