mirror of https://github.com/langgenius/dify.git
refactor: Change plan-item directory
This commit is contained in:
parent
ac456c1a95
commit
153d5e8f03
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
||||
|
|
@ -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'
|
||||
|
|
@ -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 = {
|
||||
Loading…
Reference in New Issue