Skip to content

Commit 36d8e02

Browse files
committed
Fix tag issue
1 parent 173cfbb commit 36d8e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/publications/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function PublicationsPage() {
2121
const searchParams = useSearchParams();
2222

2323
const direction = searchParams.get("tag");
24-
const direction_tag = Tag[direction as keyof typeof Tag];
24+
const direction_tag = direction as Tag;
2525
let publications_filtered = publications;
2626

2727
if (direction !== null) {

0 commit comments

Comments
 (0)