Skip to content

Commit

Permalink
fix(hot): rmv unused rte that break authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
FazioNico committed Nov 26, 2024
1 parent a60448d commit 53bc49e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/components/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { setErrorState } from "@/store/actions";
import { initializeAppSettings } from "@/store/effects/app-settings.effect";
import { LoaderProvider } from "@/context/LoaderContext";
import {
AuthWithLinkContainer,
// AuthWithLinkContainer,
BuyWithFiatContainer,
DefiContainer,
EarnContainer,
Expand Down Expand Up @@ -191,14 +191,14 @@ const AppShell = () => {
<IonReactRouter>
<LoaderProvider>
<IonRouterOutlet id="main">
<IonRoute
{/* <IonRoute
path="/auth/link"
render={() => (
<Suspense fallback={<DefaultProgressBar />}>
<AuthWithLinkContainer />
</Suspense>
)}
/>
/> */}
<IonRoute
path="/leaderboard"
render={() => (
Expand Down Expand Up @@ -269,14 +269,14 @@ const AppShell = () => {
{isMobilePWADevice && !isMagicMigrationModalOpen && (
<IonReactRouter>
<IonRouterOutlet id="main">
<IonRoute
{/* <IonRoute
path="/auth/link"
render={() => (
<Suspense fallback={<DefaultProgressBar />}>
<AuthWithLinkContainer />
</Suspense>
)}
/>
/> */}
<IonRoute
path="/leaderboard"
render={() => (
Expand Down
4 changes: 2 additions & 2 deletions src/containers/AuthWithLinkContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import web3Connector from "@/servcies/firebase-web3-connect";
import { FirebaseWeb3Connect } from "@hexaonelabs/firebase-web3connect";
// import { FirebaseWeb3Connect } from "@hexaonelabs/firebase-web3connect";
import { IonContent, IonPage, useIonAlert, useIonLoading } from "@ionic/react";
import { useEffect } from "react";

Expand All @@ -8,7 +8,7 @@ export default function AuthWithLinkContainer() {
const [presentAlert] = useIonAlert();

useEffect(() => {
const connectFromEmailLink = FirebaseWeb3Connect.isConnectWithLink();
const connectFromEmailLink = false; //FirebaseWeb3Connect.isConnectWithLink();
if (!connectFromEmailLink) {
presentAlert({
backdropDismiss: false,
Expand Down
2 changes: 1 addition & 1 deletion src/containers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export const WelcomeMobileContainer = lazy(
);
export const MagicMigrationContainer = lazy(()=> import('@/containers/MagicMigrationContainer'))

export const AuthWithLinkContainer = lazy(() => import('@/containers/AuthWithLinkContainer'));
// export const AuthWithLinkContainer = lazy(() => import('@/containers/AuthWithLinkContainer'));

0 comments on commit 53bc49e

Please sign in to comment.