From 51187179bb292eef5629e278cf8a0e06c09d88d9 Mon Sep 17 00:00:00 2001 From: ricky Date: Wed, 21 Oct 2020 00:30:01 -0400 Subject: [PATCH] Use undefined as default prop for onClick (#9654) --- .../connected-status-indicator.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/app/connected-status-indicator/connected-status-indicator.component.js b/ui/app/components/app/connected-status-indicator/connected-status-indicator.component.js index d000aaf7a..232f15262 100644 --- a/ui/app/components/app/connected-status-indicator/connected-status-indicator.component.js +++ b/ui/app/components/app/connected-status-indicator/connected-status-indicator.component.js @@ -19,7 +19,7 @@ export default class ConnectedStatusIndicator extends Component { static defaultProps = { status: STATUS_NOT_CONNECTED, - onClick: null, + onClick: undefined, } renderStatusCircle = () => {