Merge pull request #43 from mbahArip/v2

fix: missing / at the start of the url
This commit is contained in:
Arief Rachmawan
2025-03-07 00:53:33 +07:00
committed by GitHub
@@ -62,7 +62,6 @@ export default function MediaPlaylistLayout({
}); });
}, [api]); }, [api]);
// <= 1, because it always include current media
if (!uniquePlaylist.length) return null; if (!uniquePlaylist.length) return null;
if (type === "separated") if (type === "separated")
return ( return (
@@ -181,7 +180,6 @@ export default function MediaPlaylistLayout({
{/* Playlist */} {/* Playlist */}
<Carousel <Carousel
className={"relative col-span-2 tablet:col-span-3"} className={"relative col-span-2 tablet:col-span-3"}
// plugins={[WheelGesturesPlugin({ forceWheelAxis: "y" })]}
setApi={setApi} setApi={setApi}
opts={{ opts={{
dragFree: true, dragFree: true,
@@ -196,7 +194,7 @@ export default function MediaPlaylistLayout({
key={item.encryptedId} key={item.encryptedId}
className='basis-1/2 tablet:basis-1/3' className='basis-1/2 tablet:basis-1/3'
> >
<Link href={itemUrl}> <Link href={`/${itemUrl}`}>
<Item <Item
item={item} item={item}
isCurrent={false} isCurrent={false}