diff --git a/src/components/GlobalHeader/NoticeIconView.tsx b/src/components/GlobalHeader/NoticeIconView.tsx index 3c10eb1d9225bc05d4572f530239033ffb9f169f..825d3088a88403652b794f6316990d9ab07fded0 100644 --- a/src/components/GlobalHeader/NoticeIconView.tsx +++ b/src/components/GlobalHeader/NoticeIconView.tsx @@ -57,7 +57,7 @@ class GlobalHeaderRight extends Component { } => { const { notices = [] } = this.props; - if (!notices || notices.length === 0) { + if (!notices || notices.length === 0 || !Array.isArray(notices)) { return {}; }