Split notice text into a separate component

This commit is contained in:
Ajay Ramachandran
2020-03-10 12:57:26 -04:00
parent 1a92265e65
commit a02aef591e
4 changed files with 72 additions and 45 deletions

View File

@@ -48,10 +48,6 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
this.startCountdown();
}
// forwardRef(props, ref) {
// }
render() {
let noticeStyle: React.CSSProperties = {
zIndex: 50 + this.amountOfPreviousNotices