'use client'

import { usePopupController } from '@/store/popupController'
import MemberInfomationPopup from '../popup/MemberInformationPopup'
import ZipCodePopup from '../popup/ZipCodePopup'

export default function PopupController() {
  const popupController = usePopupController()

  return (
    <>
      {popupController.memberInfomationPopup && <MemberInfomationPopup />}
      {popupController.zipCodePopup && <ZipCodePopup />}
    </>
  )
}
