Skip to content

armgit / ente

Public Imported from GitHub
0

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

chore(app):adding-comments

Aswin Asok120d11b9e53e
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx
index 4ed6598f89..695004bcba 100644
--- a/web/apps/photos/src/pages/_app.tsx
+++ b/web/apps/photos/src/pages/_app.tsx
@@ -203,6 +203,13 @@ const App: React.FC<PhotosAppProps> = ({ Component, pageProps }) => {
{isDesktop && <WindowTitlebar>{title}</WindowTitlebar>}
<BaseContext value={baseContext}>
+ {
+ // The web and desktop components are rendered separately
+ // because the desktop currently supports app-lock,
+ // for which we have certain hooks and components.
+ // We don't want this to load in the web as well, since there
+ // is no particular purpose it would serve.
+ }
<PhotosAppContext value={appContext}>
{!isI18nReady ? (
<LoadingIndicator />