diff --git a/src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js b/src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js index ae90f5d..43dd481 100644 --- a/src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js +++ b/src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js @@ -1,4 +1,5 @@ // material-ui +import React from 'react'; import { Grid, Typography, @@ -56,6 +57,8 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) => const [isOnlyOnlinePayment, setOnlyOnlinePayment] = useState(); const navigate = useNavigate(); + const hasOptions = React.Children.count(selections) > 0; + const BackgroundHead = { backgroundImage: `url(${titleBackgroundImg})`, width: 'auto', @@ -275,6 +278,9 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) => : + + {hasOptions ? ( +
{ @@ -602,6 +608,7 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) =>
+ ) : null}
}