Skip to content

Commit

Permalink
fix: query string format and correct button link
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnl committed Feb 13, 2024
1 parent 6325867 commit f164007
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/[locale]/authorize/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ export default async function AuthorizePage({
height={40}
/>
<Text>{t("authorize.body")}</Text>
<a href={`vscode://testausserveri-ry.testaustime/authorize?${token}`}>
<Button>{t("authorize.continue", { username })}</Button>
</a>
<Button
component="a"
href={`vscode://testausserveri-ry.testaustime/authorize?token=${token}`}
>
{t("authorize.continue", { username })}
</Button>
<Text c="dark.2">
{t("authorize.notWorking.text")}&nbsp;
<Link href="profile">{t("authorize.notWorking.link")}</Link>
Expand Down

0 comments on commit f164007

Please sign in to comment.