@@ -34,7 +34,7 @@ const NoticeList: React.SFC<NoticeIconTabProps> = ({
viewMoreText,
showViewMore = false,
}) => {
- if (data.length === 0) {
+ if (!data || data.length === 0) {
return (
<div className={styles.notFound}>
<img