mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
apply eslint and prettier rules
This commit is contained in:
@@ -17,15 +17,7 @@ class Tooltip extends React.Component<Props> {
|
||||
const { className, message, location, children } = this.props;
|
||||
const multiline = message.length > 60 ? "is-tooltip-multiline" : "";
|
||||
return (
|
||||
<span
|
||||
className={classNames(
|
||||
"tooltip",
|
||||
"is-tooltip-" + location,
|
||||
multiline,
|
||||
className
|
||||
)}
|
||||
data-tooltip={message}
|
||||
>
|
||||
<span className={classNames("tooltip", "is-tooltip-" + location, multiline, className)} data-tooltip={message}>
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user