Skip to content

Commit 0ea9255

Browse files
committed
Convert account store to TypeScript
1 parent 5425149 commit 0ea9255

File tree

4 files changed

+199
-187
lines changed

4 files changed

+199
-187
lines changed

src/components/sections/pricing/plans/components/switch/switch.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Interval } from "@httptoolkit/accounts";
1+
import { Interval } from "@/lib/store/account-store";
22

33
interface Option {
44
text: string;

src/components/sections/pricing/plans/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import { observer } from 'mobx-react-lite';
44
import { useCallback, useState } from 'react';
5-
import { Interval } from '@httptoolkit/accounts';
65

76
import { PricingCard } from './components/card';
87
import { LoginInfo } from './components/login-info';
@@ -21,7 +20,7 @@ import type { PlanId, StyledPricingPlansProps } from './plans.types';
2120

2221
import { Spinner } from '@/components/elements/icon';
2322
import { Text } from '@/components/elements/text';
24-
import { accountStore } from '@/lib/store/account-store';
23+
import { accountStore, Interval } from '@/lib/store/account-store';
2524

2625
const LoadingPrice = () => {
2726
return (

src/lib/store/account-store.js

Lines changed: 0 additions & 184 deletions
This file was deleted.

0 commit comments

Comments
 (0)