Skip to content

Commit

Permalink
fix atob
Browse files Browse the repository at this point in the history
  • Loading branch information
terryli0095 committed Jan 21, 2024
1 parent bab9cff commit df37530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wondrous-bot-admin/src/pages/verify-link/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const VerifyLinkPage = () => {
const searchParams = new URLSearchParams(search);

const paramsQuery = searchParams.get("query");
const decodedQuery = atob(paramsQuery || "");
const decodedQuery = window.atob(paramsQuery || "");
const query = JSON.parse(decodedQuery || "{}");

const handleVerify = async () => {
Expand Down

0 comments on commit df37530

Please sign in to comment.