A decentralized music tracking and discovery platform built on AT Protocol 🎵

Simplify song link generation in feed

Use the URI path with app.rocksky. prefix removed instead of
constructing a /{user}/scrobble/{id} URL via multiple splits.

+1 -1
+1 -1
apps/web/src/pages/home/feed/Feed.tsx
··· 188 188 <FlexGridItem {...itemProps} key={song.id}> 189 189 <Link 190 190 to={ 191 - `/${song.uri?.split("at://")[1]?.split("/")[0] || ""}/scrobble/${song.uri?.split("/").pop() || ""}` as string 191 + `/${song.uri?.split("at://")[1].replace("app.rocksky.", "")}` as string 192 192 } 193 193 className="no-underline text-[var(--color-text-primary)]" 194 194 >