Skip to content

Commit

Permalink
chore: explicit dom api
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjunyu19 committed Aug 1, 2022
1 parent ab3f641 commit ec19f09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GZCTF/ClientApp/src/pages/account/Confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Confirm: FC = () => {
showNotification({
color: 'teal',
title: '邮箱已验证',
message: atob(email),
message: window.atob(email),
icon: <Icon path={mdiCheck} size={1} />,
disallowClose: true,
})
Expand Down
4 changes: 2 additions & 2 deletions GZCTF/ClientApp/src/pages/account/Verify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Verify: FC = () => {
showNotification({
color: 'teal',
title: '账户已验证,请登录',
message: atob(email),
message: window.atob(email),
icon: <Icon path={mdiCheck} size={1} />,
disallowClose: true,
})
Expand Down Expand Up @@ -50,7 +50,7 @@ const Verify: FC = () => {

return (
<AccountView>
<Text>验证中……</Text>
<Text>验证中……${Buffer.from('', 'base64')}</Text>
</AccountView>
)
}
Expand Down

0 comments on commit ec19f09

Please sign in to comment.