mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-08-22 08:34:13 -05:00
Fix otherHacks data showing with original_author
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user