mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-04-18 13:07:40 -05:00
Fix otherHacks data showing with original_author
This commit is contained in:
parent
1951486813
commit
899724c839
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user