Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit c20006e

Browse files
committed
Don’t display error handler in notification bar
1 parent 2f3b025 commit c20006e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/component/notification.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
Platform,
99
} from 'react-native';
1010
import PropTypes from 'prop-types';
11-
import { SmallPillButton } from './button';
1211
import { Text, H4Text } from './text';
1312
import ToastCheckmarkIcon from '../asset/icon/toast-checkmark';
1413
import { SmallSpinner } from './spinner';
@@ -54,12 +53,6 @@ export const NotificationBar = ({ notification, display, style }) =>
5453
<Alert type={notification.type} style={barStyles.alert} />
5554
<Text style={barStyles.text}>{notification.message}</Text>
5655
</View>
57-
{notification.handler ? (
58-
<SmallPillButton
59-
text={notification.handlerLbl}
60-
onPress={notification.handler}
61-
/>
62-
) : null}
6356
{notification.waiting ? <SmallSpinner /> : null}
6457
</View>
6558
</SafeAreaView>

0 commit comments

Comments
 (0)