Fix otherHacks data showing with original_author

This commit is contained in:
Jared Schoeny 2026-01-27 19:10:49 -10:00
parent 1951486813
commit 899724c839

View File

@ -109,7 +109,7 @@ export async function getHackMetadata(slug: string): Promise<HackMetadata | null
title: string;
summary: string;
}[] = [];
if (!hack.is_archive) {
if (!hack.is_archive && !hack.original_author) {
const { data: otherHacksData } = await supabase
.from("hacks")
.select("slug,title,summary")