2
0

fix: 🐛 UpgradeModal ending with a dot

This commit is contained in:
Baptiste Arnaud
2022-04-05 14:55:19 +02:00
parent 786908e9cf
commit 1fb4328938
11 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
import { Button, HStack, Tag, useDisclosure, Text } from '@chakra-ui/react' import { Button, HStack, Tag, useDisclosure, Text } from '@chakra-ui/react'
import { FolderPlusIcon } from 'assets/icons' import { FolderPlusIcon } from 'assets/icons'
import { UpgradeModal } from 'components/shared/modals/UpgradeModal.' import { UpgradeModal } from 'components/shared/modals/UpgradeModal'
import { LimitReached } from 'components/shared/modals/UpgradeModal./UpgradeModal' import { LimitReached } from 'components/shared/modals/UpgradeModal/UpgradeModal'
import { useUser } from 'contexts/UserContext' import { useUser } from 'contexts/UserContext'
import React from 'react' import React from 'react'
import { isFreePlan } from 'services/user' import { isFreePlan } from 'services/user'

View File

@@ -6,7 +6,7 @@ import {
Tag, Tag,
useDisclosure, useDisclosure,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import { UpgradeModal } from 'components/shared/modals/UpgradeModal.' import { UpgradeModal } from 'components/shared/modals/UpgradeModal'
import { SwitchWithLabel } from 'components/shared/SwitchWithLabel' import { SwitchWithLabel } from 'components/shared/SwitchWithLabel'
import { useUser } from 'contexts/UserContext' import { useUser } from 'contexts/UserContext'
import { GeneralSettings } from 'models' import { GeneralSettings } from 'models'

View File

@@ -8,8 +8,8 @@ import {
useDisclosure, useDisclosure,
} from '@chakra-ui/react' } from '@chakra-ui/react'
import React from 'react' import React from 'react'
import { UpgradeModal } from './modals/UpgradeModal.' import { UpgradeModal } from './modals/UpgradeModal'
import { LimitReached } from './modals/UpgradeModal./UpgradeModal' import { LimitReached } from './modals/UpgradeModal/UpgradeModal'
export const Info = (props: AlertProps) => ( export const Info = (props: AlertProps) => (
<Alert status="info" bgColor={'blue.50'} rounded="md" {...props}> <Alert status="info" bgColor={'blue.50'} rounded="md" {...props}>

View File

@@ -1,7 +1,7 @@
import { Button, ButtonProps, useDisclosure } from '@chakra-ui/react' import { Button, ButtonProps, useDisclosure } from '@chakra-ui/react'
import React from 'react' import React from 'react'
import { UpgradeModal } from '../modals/UpgradeModal.' import { UpgradeModal } from '../modals/UpgradeModal'
import { LimitReached } from '../modals/UpgradeModal./UpgradeModal' import { LimitReached } from '../modals/UpgradeModal/UpgradeModal'
type Props = { type?: LimitReached } & ButtonProps type Props = { type?: LimitReached } & ButtonProps

View File

@@ -1,7 +1,7 @@
import { Flex, useDisclosure, useToast } from '@chakra-ui/react' import { Flex, useDisclosure, useToast } from '@chakra-ui/react'
import { StatsCards } from 'components/analytics/StatsCards' import { StatsCards } from 'components/analytics/StatsCards'
import { Graph } from 'components/shared/Graph' import { Graph } from 'components/shared/Graph'
import { UpgradeModal } from 'components/shared/modals/UpgradeModal.' import { UpgradeModal } from 'components/shared/modals/UpgradeModal'
import { GraphProvider } from 'contexts/GraphContext' import { GraphProvider } from 'contexts/GraphContext'
import { useTypebot } from 'contexts/TypebotContext/TypebotContext' import { useTypebot } from 'contexts/TypebotContext/TypebotContext'
import { Stats } from 'models' import { Stats } from 'models'