import type { VFC } from 'react'; import { useParams } from 'react-router-dom'; import NotFound from 'component/common/NotFound/NotFound'; import { JiraIntegration } from './JiraIntegration/JiraIntegration'; import { EdgeIntegration } from './EdgeIntegration/EdgeIntegration'; type IViewIntegrationProps = {}; export const ViewIntegration: VFC = () => { const { providerId } = useParams<{ providerId: string }>(); if (providerId === 'jira') { return ; } if (providerId === 'edge') { return ; } return ; };