feat: add loading of recommendations to movie page
This commit is contained in:
@@ -6,6 +6,7 @@ import { HashTags } from "@components/HashTags.tsx";
|
||||
import { renderMarkdown } from "@lib/documents.ts";
|
||||
import { KMenu } from "@islands/KMenu.tsx";
|
||||
import { RedirectSearchHandler } from "@islands/Search.tsx";
|
||||
import { Recommendations } from "@islands/Recommendations.tsx";
|
||||
|
||||
export default async function Greet(
|
||||
props: PageProps<{ movie: Movie; session: Record<string, string> }>,
|
||||
@@ -52,6 +53,8 @@ export default async function Greet(
|
||||
>
|
||||
{content}
|
||||
</pre>
|
||||
|
||||
<Recommendations id={movie.id} type="movie"></Recommendations>
|
||||
</div>
|
||||
</MainLayout>
|
||||
);
|
||||
|
Reference in New Issue
Block a user