(props: Props)
| 18 | |
| 19 | class FlashMessages extends Component<Props, State> { |
| 20 | constructor(props: Props) { |
| 21 | super(props) |
| 22 | this.state = { |
| 23 | messages: props.initialAlertMessages || [], |
| 24 | alerts: [], |
| 25 | } |
| 26 | |
| 27 | window.flashMessages = this |
| 28 | } |
| 29 | |
| 30 | get alerts() { |
| 31 | return this.state.messages.map((message) => ( |
nothing calls this directly
no outgoing calls
no test coverage detected