Skip to content

Commit 67bbefd

Browse files
committed
use onpress instead of onclick
1 parent 65cf956 commit 67bbefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function ResearchDirection({ title, image }: { title: string; image: string }) {
1616
<Card
1717
isPressable
1818
className="col-span-1 p-0"
19-
onClick={() => {
19+
onPress={() => {
2020
window.location.href = `/publications?tag=${title}`;
2121
}}
2222
>

0 commit comments

Comments
 (0)