Skip to content

Commit

Permalink
feat: new tab instead of redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hegeaal committed Oct 23, 2023
1 parent fc10c79 commit 741fc1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/requests/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const RequestsPage: FC<Props> = ({
<SC.Button>
<Button
onClick={() => {
window.location.href = `${FDK_COMMUNITY_BASE_URI}/category/6`;
window.open(`${FDK_COMMUNITY_BASE_URI}/category/6`);
}}
>
{localization.requestsPage.createRequest}
Expand Down Expand Up @@ -182,7 +182,7 @@ const RequestsPage: FC<Props> = ({
</SC.Text>
<Button
onClick={() => {
window.location.href = `${FDK_COMMUNITY_BASE_URI}/category/6`;
window.open(`${FDK_COMMUNITY_BASE_URI}/category/6`);
}}
>
{localization.requestsPage.createRequest}
Expand Down

0 comments on commit 741fc1d

Please sign in to comment.