()
| 33 | console.error(`[restored-app-bootstrap] ${message}`); |
| 34 | } |
| 35 | override render(): React.ReactNode { |
| 36 | if (!this.state.error) { |
| 37 | return this.props.children; |
| 38 | } |
| 39 | return <Box flexDirection="column" paddingX={1}> |
| 40 | <Text color="red">Failed to initialize restored app bootstrap.</Text> |
| 41 | <Text dimColor>{this.state.error.message || String(this.state.error)}</Text> |
| 42 | </Box>; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | /** |
no outgoing calls
no test coverage detected