We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2044742 commit 1b53915Copy full SHA for 1b53915
source/views/components/notice.js
@@ -44,7 +44,7 @@ export function NoticeView({
44
<View style={[styles.container, style]}>
45
{spinner ? <ActivityIndicator style={styles.spinner} /> : null}
46
47
- <Heading level={1}>{header}</Heading>
+ {header ? <Heading level={1}>{header}</Heading> : null}
48
49
<Text selectable={true} style={styles.text}>
50
{text || 'Notice!'}
0 commit comments