Skip to content

Commit

Permalink
refactor: stabilize branch
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbusuttil committed Feb 28, 2024
1 parent 286b760 commit 52db2f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { WalletSetupStepsRevamp as WalletSetupSteps, WalletSetupFlowProvider, WalletSetupFlow } from '@lace/core';
import {
WalletSetupSteps,
WalletSetupFlowProvider,
WalletSetupFlow,
useTranslate,
WalletSetupOptionsStep
} from '@lace/core';
import { useAnalyticsContext } from '@providers/AnalyticsProvider';
import {
PostHogAction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {
WalletSetupFinalStep,
WalletSetupNamePasswordStep,
WalletSetupRecoveryPhraseLengthStep,
WalletSetupStepsRevamp as WalletSetupSteps,
WalletSetupSteps,
walletSetupWizard
} from '@lace/core';
import { Wallet } from '@lace/cardano';
import { WalletSetupLayout } from '@src/views/browser-view/components/Layout';
Expand Down Expand Up @@ -377,4 +378,4 @@ export const WalletSetupWizard = ({
)}
</WalletSetupLayout>
);
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ThemeProvider } from '@providers/ThemeProvider';
import { MemoryRouter } from 'react-router-dom';
import { WalletSetup } from '../WalletSetup';
import { I18nextProvider } from 'react-i18next';
import { WalletSetupStepsRevamp as WalletSetupSteps } from '@lace/core';
import { WalletSetupSteps } from '@lace/core';
import { render, fireEvent, waitFor } from '@testing-library/react';

jest.mock('@stores', () => ({
Expand Down Expand Up @@ -54,7 +54,7 @@ const SetupContainerTest = () => (
<AnalyticsProvider>
<ExternalLinkOpenerProvider>
<ThemeProvider>
<WalletSetup initialStep={WalletSetupSteps.Analytics} />
<WalletSetup initialStep={WalletSetupSteps.Register} />
</ThemeProvider>
</ExternalLinkOpenerProvider>
</AnalyticsProvider>
Expand Down

This file was deleted.

0 comments on commit 52db2f5

Please sign in to comment.