- more
This commit is contained in:
@@ -32,7 +32,11 @@ export default function HeaderContentLeft({
|
||||
return <BackIcon action={_goBack} />;
|
||||
}
|
||||
|
||||
return <EventsIcon action={hasMultipleEvents ? _showEvents : null} />;
|
||||
if (hasMultipleEvents) {
|
||||
return <EventsIcon action={_showEvents} />;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
HeaderContentLeft.propTypes = {
|
||||
|
||||
Reference in New Issue
Block a user