Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove nesting

Manav Rathi68648d2f6c87
diff --git a/web/apps/auth/src/pages/auth/index.tsx b/web/apps/auth/src/pages/auth.tsx
similarity index 100%
rename from web/apps/auth/src/pages/auth/index.tsx
rename to web/apps/auth/src/pages/auth.tsx
diff --git a/web/apps/auth/src/pages/change-email/index.tsx b/web/apps/auth/src/pages/change-email.tsx
similarity index 100%
rename from web/apps/auth/src/pages/change-email/index.tsx
rename to web/apps/auth/src/pages/change-email.tsx
diff --git a/web/apps/auth/src/pages/change-password/index.tsx b/web/apps/auth/src/pages/change-password.tsx
similarity index 100%
rename from web/apps/auth/src/pages/change-password/index.tsx
rename to web/apps/auth/src/pages/change-password.tsx
diff --git a/web/apps/auth/src/pages/credentials/index.tsx b/web/apps/auth/src/pages/credentials.tsx
similarity index 100%
rename from web/apps/auth/src/pages/credentials/index.tsx
rename to web/apps/auth/src/pages/credentials.tsx
diff --git a/web/apps/auth/src/pages/generate/index.tsx b/web/apps/auth/src/pages/generate.tsx
similarity index 100%
rename from web/apps/auth/src/pages/generate/index.tsx
rename to web/apps/auth/src/pages/generate.tsx
diff --git a/web/apps/auth/src/pages/login/index.tsx b/web/apps/auth/src/pages/login.tsx
similarity index 100%
rename from web/apps/auth/src/pages/login/index.tsx
rename to web/apps/auth/src/pages/login.tsx
diff --git a/web/apps/auth/src/pages/passkeys/finish/index.tsx b/web/apps/auth/src/pages/passkeys/finish.tsx
similarity index 100%
rename from web/apps/auth/src/pages/passkeys/finish/index.tsx
rename to web/apps/auth/src/pages/passkeys/finish.tsx
diff --git a/web/apps/auth/src/pages/recover/index.tsx b/web/apps/auth/src/pages/recover.tsx
similarity index 100%
rename from web/apps/auth/src/pages/recover/index.tsx
rename to web/apps/auth/src/pages/recover.tsx
diff --git a/web/apps/auth/src/pages/signup/index.tsx b/web/apps/auth/src/pages/signup.tsx
similarity index 100%
rename from web/apps/auth/src/pages/signup/index.tsx
rename to web/apps/auth/src/pages/signup.tsx
diff --git a/web/apps/auth/src/pages/two-factor/recover/index.tsx b/web/apps/auth/src/pages/two-factor/recover.tsx
similarity index 100%
rename from web/apps/auth/src/pages/two-factor/recover/index.tsx
rename to web/apps/auth/src/pages/two-factor/recover.tsx
diff --git a/web/apps/auth/src/pages/two-factor/setup/index.tsx b/web/apps/auth/src/pages/two-factor/setup.tsx
similarity index 100%
rename from web/apps/auth/src/pages/two-factor/setup/index.tsx
rename to web/apps/auth/src/pages/two-factor/setup.tsx
diff --git a/web/apps/auth/src/pages/two-factor/verify/index.tsx b/web/apps/auth/src/pages/two-factor/verify.tsx
similarity index 89%
rename from web/apps/auth/src/pages/two-factor/verify/index.tsx
rename to web/apps/auth/src/pages/two-factor/verify.tsx
index 2243a43549..85eb7ff1b1 100644
--- a/web/apps/auth/src/pages/two-factor/verify/index.tsx
+++ b/web/apps/auth/src/pages/two-factor/verify.tsx
@@ -1,7 +1,7 @@
import TwoFactorVerifyPage from "@ente/accounts/pages/two-factor/verify";
import { APPS } from "@ente/shared/apps/constants";
import { useContext } from "react";
-import { AppContext } from "../../_app";
+import { AppContext } from "../_app";
export default function TwoFactorVerify() {
const appContext = useContext(AppContext);
diff --git a/web/apps/auth/src/pages/verify/index.tsx b/web/apps/auth/src/pages/verify.tsx
similarity index 100%
rename from web/apps/auth/src/pages/verify/index.tsx
rename to web/apps/auth/src/pages/verify.tsx