import React from 'react'
import Modal from '~/common/components/elements/Modal'
import { useRegisterStore } from '~/common/stores/useRegisterStore'
import PageContent from '~/modules/page-content'

const TermCondition = () => {
  const { isOpenTNC, closeTNC } = useRegisterStore()

  return (
    <Modal active={isOpenTNC} close={closeTNC} >
      <PageContent path='/register#tnd' />
    </Modal>
  )
}

export default TermCondition