Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub committed Sep 27, 2024
1 parent 6d78b0c commit 4d7229b
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,17 @@ export function OneClickLoginScreen(): JSX.Element | null {
return;
}
try {
// await dispatch({
// type: "one-click-login",
// email,
// code,
// targetFolder
// });

const result = await requestGenericIssuanceTicketPreviews(
const previewRes = await requestGenericIssuanceTicketPreviews(
appConfig.zupassServer,
email,
code
);

setLoading(false);
if (result.success) {
setTicketPreviews(result.value.tickets);
if (previewRes.success) {
setTicketPreviews(previewRes.value.tickets);
} else {
setError(result.error);
setError(previewRes.error);
}
} catch (err) {
await dispatch({
Expand Down

0 comments on commit 4d7229b

Please sign in to comment.