mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
Merge pull request #43 from mbahArip/v2
fix: missing / at the start of the url
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user