Skip to content

Commit

Permalink
bugfix for tg uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamperoyge committed Mar 26, 2024
1 parent 40848b9 commit 6b1a5f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const LinkClickButton = ({ step, cmtyUser, handleLinkClick, startCmtyUserPolling
questStepId: step?.id,
});
const query = btoa(linkQuery);
return `${baseUrl}/verify-link?query=${query}`;
return `${baseUrl}/verify-link?query=${encodeURIComponent(query)}`;
}, [step]);

const onClick = async () => {
Expand Down

0 comments on commit 6b1a5f1

Please sign in to comment.