Skip to content

Commit

Permalink
feat: remove unused code (#7702)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola authored Aug 27, 2024
1 parent 60001a6 commit d9198b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
62 changes: 0 additions & 62 deletions web/app/components/custom/custom-app-header-brand/index.tsx

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions web/app/components/custom/custom-page/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useTranslation } from 'react-i18next'
import CustomWebAppBrand from '../custom-web-app-brand'
import CustomAppHeaderBrand from '../custom-app-header-brand'
import s from '../style.module.css'
import GridMask from '@/app/components/base/grid-mask'
import UpgradeBtn from '@/app/components/billing/upgrade-btn'
Expand All @@ -13,7 +12,6 @@ const CustomPage = () => {
const { plan, enableBilling } = useProviderContext()

const showBillingTip = enableBilling && plan.type === Plan.sandbox
const showCustomAppHeaderBrand = enableBilling && plan.type === Plan.sandbox
const showContact = enableBilling && (plan.type === Plan.professional || plan.type === Plan.team)

return (
Expand All @@ -32,14 +30,6 @@ const CustomPage = () => {
)
}
<CustomWebAppBrand />
{
showCustomAppHeaderBrand && (
<>
<div className='my-2 h-[0.5px] bg-gray-100'></div>
<CustomAppHeaderBrand />
</>
)
}
{
showContact && (
<div className='absolute bottom-0 h-[50px] leading-[50px] text-xs text-gray-500'>
Expand Down

0 comments on commit d9198b5

Please sign in to comment.