Skip to content

Commit

Permalink
🐛 Fixed redirects on videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Aug 2, 2024
1 parent c2e298c commit d923adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app/app/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Home = ({ searchParams }: HomePageProps) => {
<ExploreTabs />
<div className="mt-8">
<Suspense fallback={<div> Loading... </div>}>
{/* <ArchiveVideos {...searchParams} /> */}
<ArchiveVideos {...searchParams} />
</Suspense>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/components/misc/Videos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default async function VideoGrid({
}>
<VideoCardWithMenu
session={video}
link={`/${OrganizationSlug}/watch?session=${video._id.toString()}`}
link={`/${OrganizationSlug || video.organizationId}/watch?session=${video._id.toString()}`}
/>
</Suspense>
</div>
Expand Down

0 comments on commit d923adc

Please sign in to comment.