Skip to content

Commit 2fd23a2

Browse files
committed
fix: require valid hackathon team form links
1 parent ba51623 commit 2fd23a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pages/hackathon/[id]/team/[tid].tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ const ProjectPage: FC<ProjectPageProps> = observer(
157157
Object.values(forms || {})
158158
.flat()
159159
.filter((form): form is TableFormView => Boolean(form))
160-
.filter(isPublicForm),
160+
.filter(isPublicForm)
161+
.filter(({ shared_url }) => Boolean(shared_url)),
161162
[forms],
162163
);
163164
const primaryForm =

0 commit comments

Comments
 (0)