Skip to content

Commit

Permalink
fix atob (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
terryli0095 authored Jan 21, 2024
1 parent 0827e82 commit 215bb05
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 215bb05

Please sign in to comment.