diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsx
index 7be7835a85..93a95c880a 100644
--- a/web/apps/auth/src/pages/auth.tsx
+++ b/web/apps/auth/src/pages/auth.tsx
@@ -12,7 +12,7 @@ import { CustomError } from "@ente/shared/error";
import InMemoryStore, { MS_KEYS } from "@ente/shared/storage/InMemoryStore";
import LogoutOutlined from "@mui/icons-material/LogoutOutlined";
import MoreHoriz from "@mui/icons-material/MoreHoriz";
-import { Button, ButtonBase, Snackbar, TextField } from "@mui/material";
+import { Button, ButtonBase, Snackbar, TextField, styled } from "@mui/material";
import { t } from "i18next";
import { useRouter } from "next/router";
import { AppContext } from "pages/_app";
@@ -30,8 +30,7 @@ const AuthenticatorCodesPage = () => {
useEffect(() => {
const fetchCodes = async () => {
try {
- const res = await getAuthCodes();
- setCodes(res);
+ setCodes(await getAuthCodes());
} catch (e) {
if (
e instanceof Error &&
@@ -58,11 +57,9 @@ const AuthenticatorCodesPage = () => {
if (!hasFetched) {
return (
- <>
-
{t("NO_RESULTS")}
- ) : ( - - )} + {searchTerm.length &&{t("NO_RESULTS")}
}{t("AUTH_DOWNLOAD_MOBILE_APP")}
{ > -