Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Jan 30, 2025
1 parent 36dbab4 commit ab0bc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/PlanPage/PlanPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import config from 'config'

import { SentryRoute } from 'sentry'

import { useUnverifiedPaymentMethods } from 'services/account/useUnverifiedPaymentMethods'
import { Provider } from 'shared/api/helpers'
import { Theme, useThemeContext } from 'shared/ThemeContext'
import A from 'ui/A'
Expand All @@ -19,7 +20,6 @@ import PlanBreadcrumb from './PlanBreadcrumb'
import { PlanPageDataQueryOpts } from './queries/PlanPageDataQueryOpts'
import Tabs from './Tabs'

import { useUnverifiedPaymentMethods } from 'services/account/useUnverifiedPaymentMethods'
import { StripeAppearance } from '../../stripe'

const CancelPlanPage = lazy(() => import('./subRoutes/CancelPlanPage'))
Expand Down
6 changes: 3 additions & 3 deletions src/services/account/useCurrentOrgPlanPageData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const UnverifiedPaymentMethodSchema = z.object({
hostedVerificationUrl: z.string(),
})

export const CurrentOrgPlanPageDataSchema = z
const CurrentOrgPlanPageDataSchema = z
.object({
owner: z
.object({
Expand All @@ -28,15 +28,15 @@ export const CurrentOrgPlanPageDataSchema = z
})
.nullish()

export interface UseCurrentOrgPlanPageDataArgs {
interface UseCurrentOrgPlanPageDataArgs {
provider: string
owner: string
opts?: {
enabled?: boolean
}
}

export const query = `
const query = `
query GetCurrentOrgPlanPageData($owner: String!) {
owner(username: $owner) {
plan {
Expand Down

0 comments on commit ab0bc4c

Please sign in to comment.