diff --git a/src/components/Tabs.tsx b/src/components/Tabs.tsx index 04826005..7a35261b 100644 --- a/src/components/Tabs.tsx +++ b/src/components/Tabs.tsx @@ -70,13 +70,7 @@ export class Tabs extends React.Component { key={index} onClick={() => disabled ? '' : this.handleSelect(eventKey)} > - {icon ? ( -
- {title} -
- ) : ( - {title} - )} + {icon ? : null} {title} ); }