Skip to content

Commit a937812

Browse files
author
Boopathi
committed
chore: update auth action handler page
1 parent f60ad45 commit a937812

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/auth/action/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ const ActionHandlerContent: React.FC = () => {
135135
const handleAction = async () => {
136136
try {
137137
const actionInfo = await checkActionCode(auth, codeParam);
138-
const { email, operation } = actionInfo.data;
138+
const { operation } = actionInfo;
139+
const { email } = actionInfo.data;
139140

140141
if (!email) {
141142
throw new Error("Invalid action code: email is missing.");

0 commit comments

Comments
 (0)