π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi7cef60f8b965
diff --git a/web/apps/payments/src/App.tsx b/web/apps/payments/src/App.tsxindex e987223b17..59f7b7d654 100644--- a/web/apps/payments/src/App.tsx+++ b/web/apps/payments/src/App.tsx@@ -1,5 +1,4 @@import React, { useEffect, useRef, useState } from "react";-import { Container } from "./components/Container";import { parseAndHandleRequest } from "./services/billing";import S from "./utils/strings";@@ -18,4 +17,8 @@ export const App: React.FC = () => {return <Container>{failed ? S.error_generic : <Spinner />}</Container>;};+const Container: React.FC<React.PropsWithChildren> = ({ children }) => (+ <div className="container">{children}</div>+);+const Spinner: React.FC = () => <div className="loading-spinner"></div>;diff --git a/web/apps/payments/src/components/Container.tsx b/web/apps/payments/src/components/Container.tsxdeleted file mode 100644index bf8c57b5dc..0000000000--- a/web/apps/payments/src/components/Container.tsx+++ /dev/null@@ -1,5 +0,0 @@-import React from "react";--export const Container: React.FC<React.PropsWithChildren> = ({ children }) => (- <div className="container">{children}</div>-);