fix(pr): make the pr author link working
+ 9
- 5
@@ -1,5 +1,5 @@
 {
-  "_generatedAtUnix": 1668094158826,
+  "_generatedAtUnix": 1668960265276,
   "_hashAlgorithm": "sha1",
   "_version": 2,
   "islands": {

...
@@ -134,7 +134,7 @@
       "pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestCreateView.tsx"
     },
     "RepositoryPullRequestDetailsView": {
-      "hash": "b18bff58fd15b82de2b69360ec9e436fd5a47347",
+      "hash": "9e7111296429add78bf3f157f2ebb31f55ce7b2f",
       "pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestDetailsView.tsx"
     },
     "RepositoryPullRequestsView": {

app/views/repositoryPullRequests/RepositoryPullRequestDetailsView.tsx
@@ -75,9 +75,13 @@ const RepositoryPullRequestDetailsView: ReactView<RepositoryPullRequestDetailsVi
               </h1>
               <span style={{ opacity: 0.67, marginTop: 8 }}>
                 <a
-                  href={buildRouteLink(AppRoute.USER_DETAILS, {
-                    username: pr.authorId,
-                  })}
+                  href={buildRouteLink(
+                    AppRoute.USER_DETAILS,
+                    {
+                      username: prAuthor.username,
+                    },
+                    { encodeURIComponent: false }
+                  )}
                 >
                   {prAuthor.displayName || prAuthor.username}
                 </a>