chore: deno fmt
This commit is contained in:
@@ -24,7 +24,7 @@ export default async function Greet(
|
||||
return ctx.renderNotFound();
|
||||
}
|
||||
|
||||
const { author = "", datePublished = "",reviewBody } = movie.content;
|
||||
const { author = "", datePublished = "", reviewBody } = movie.content;
|
||||
|
||||
const content = renderMarkdown(
|
||||
removeImage(reviewBody || "", movie.content.image),
|
||||
|
||||
@@ -21,7 +21,7 @@ export default async function MovieIndex(
|
||||
await searchResource({ ...searchParams, types: ["movie"] });
|
||||
const movies = allMovies.sort((a, b) =>
|
||||
a?.content?.reviewRating?.ratingValue >
|
||||
b?.content?.reviewRating?.ratingValue
|
||||
b?.content?.reviewRating?.ratingValue
|
||||
? -1
|
||||
: 1
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user