Skip to content

Commit

Permalink
Remove unused header setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mnvr committed Jun 11, 2024
1 parent c4d5bc5 commit fbff908
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions web/apps/accounts/src/pages/passkeys/verify.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { setClientPackageForAuthenticatedRequests } from "@/next/http";
import log from "@/next/log";
import type { TwoFactorAuthorizationResponse } from "@/next/types/credentials";
import { nullToUndefined } from "@/utils/transform";
import { VerticallyCentered } from "@ente/shared/components/Container";
import EnteButton from "@ente/shared/components/EnteButton";
import EnteSpinner from "@ente/shared/components/EnteSpinner";
import HTTPService from "@ente/shared/network/HTTPService";
import InfoIcon from "@mui/icons-material/Info";
import { Paper, Typography, styled } from "@mui/material";
import { t } from "i18next";
Expand Down Expand Up @@ -67,12 +65,6 @@ const Page = () => {
return;
}

localStorage.setItem("clientPackage", clientPackage);
setClientPackageForAuthenticatedRequests(clientPackage);
HTTPService.setHeaders({
"X-Client-Package": clientPackage,
});

setStatus("loading");

// Extract passkeySessionID from the query params.
Expand Down

0 comments on commit fbff908

Please sign in to comment.