refactor: Change plan-item directory

This commit is contained in:
twwu 2025-08-15 11:14:38 +08:00
parent ac456c1a95
commit 153d5e8f03
6 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import Divider from '@/app/components/base/divider'
import { type BasicPlan, Plan, type UsagePlanInfo } from '../../type'
import PlanItem from '../plan-item'
import PlanItem from './plan-item'
import type { PlanRange } from '../plan-switcher/plan-range-switcher'
type PlansProps = {

View File

@ -1,6 +1,6 @@
import React from 'react'
import type { BasicPlan } from '../../type'
import { Plan } from '../../type'
import type { BasicPlan } from '../../../type'
import { Plan } from '../../../type'
import cn from '@/utils/classnames'
import { RiArrowRightLine } from '@remixicon/react'

View File

@ -2,11 +2,11 @@
import type { FC } from 'react'
import React, { useMemo } from 'react'
import { useTranslation } from 'react-i18next'
import type { BasicPlan } from '../../type'
import { Plan } from '../../type'
import { ALL_PLANS } from '../../config'
import Toast from '../../../base/toast'
import { PlanRange } from '../select-plan-range'
import type { BasicPlan } from '../../../type'
import { Plan } from '../../../type'
import { ALL_PLANS } from '../../../config'
import Toast from '../../../../base/toast'
import { PlanRange } from '../../select-plan-range'
import { useAppContext } from '@/context/app-context'
import { fetchSubscriptionUrls } from '@/service/billing'
import List from './list'

View File

@ -1,8 +1,8 @@
import React from 'react'
import { type BasicPlan, Plan } from '../../../type'
import { type BasicPlan, Plan } from '../../../../type'
import Item from './item'
import { useTranslation } from 'react-i18next'
import { ALL_PLANS, NUM_INFINITE } from '../../../config'
import { ALL_PLANS, NUM_INFINITE } from '../../../../config'
import Divider from '@/app/components/base/divider'
type ListProps = {