Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use

Manav Rathi874a7121b224
diff --git a/web/apps/accounts/src/pages/passkeys/index.tsx b/web/apps/accounts/src/pages/passkeys/index.tsx
index b7d89fab4c..093e4e0349 100644
--- a/web/apps/accounts/src/pages/passkeys/index.tsx
+++ b/web/apps/accounts/src/pages/passkeys/index.tsx
@@ -1,4 +1,3 @@
-import { FormPaper } from "@/base/components/FormPaper";
import { MenuItemDivider, MenuItemGroup } from "@/base/components/Menu";
import { SidebarDrawer } from "@/base/components/mui/SidebarDrawer";
import { AppNavbar } from "@/base/components/Navbar";
@@ -16,7 +15,7 @@ import ChevronRightIcon from "@mui/icons-material/ChevronRight";
import DeleteIcon from "@mui/icons-material/Delete";
import EditIcon from "@mui/icons-material/Edit";
import KeyIcon from "@mui/icons-material/Key";
-import { Box, Stack, Typography, styled } from "@mui/material";
+import { Box, Paper, Stack, Typography, styled } from "@mui/material";
import { t } from "i18next";
import React, { useCallback, useEffect, useState } from "react";
import {
@@ -121,7 +120,7 @@ const Page: React.FC = () => {
<Box sx={{ marginBottom: "1rem" }}>
<Typography>{t("passkeys_description")}</Typography>
</Box>
- <FormPaper sx={{ p: "1rem" }}>
+ <Paper sx={{ p: "1rem" }}>
<SingleInputForm
fieldType="text"
placeholder={t("enter_passkey_name")}
@@ -130,7 +129,7 @@ const Page: React.FC = () => {
callback={handleSubmit}
submitButtonProps={{ sx: { marginBottom: 1 } }}
/>
- </FormPaper>
+ </Paper>
<Box sx={{ marginTop: "1rem" }}>
<PasskeysList
passkeys={passkeys}
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 1b620459f2..46f4a97adb 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -1,6 +1,7 @@
import { SpaceBetweenFlex } from "@/base/components/containers";
import { EnteLogoSVG } from "@/base/components/EnteLogo";
import { FormPaper, FormPaperTitle } from "@/base/components/FormPaper";
+import { LoadingIndicator } from "@/base/components/loaders";
import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";
import { NavbarBase, SelectionBar } from "@/base/components/Navbar";
import {
@@ -455,11 +456,7 @@ export default function PublicCollectionGallery() {
};
if (loading && (!publicFiles || !credentials.current)) {
- return (
- <VerticallyCentered>
- <ActivityIndicator />
- </VerticallyCentered>
- );
+ return <LoadingIndicator />;
} else if (errorMessage) {
return <VerticallyCentered>{errorMessage}</VerticallyCentered>;
} else if (isPasswordProtected && !credentials.current.accessTokenJWT) {