mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-11-25 15:29:54 +00:00
Support SSR
This commit is contained in:
1 parent
48f4920c1d
commit
7d9b1d9606
3 files changed
+10
-6
No files matched your search
@@ -72,7 +72,7 @@ const Project = ({ repo, loading, github, googleAnalytics }) => {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
window.open(item.html_url, '_blank');
|
||||
typeof window !== 'undefined' && window.open(item.html_url, '_blank');
|
||||
}}
|
||||
>
|
||||
<div className="flex justify-between flex-col p-8 h-full w-full">
|
||||
|
||||
Reference in new issue
Block a user