Skip to content

Commit f6ccb59

Browse files
committed
Lint
1 parent c937b91 commit f6ccb59

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

gui/src/components/commons/Tooltip.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,12 @@ export function DrawerTooltip({
364364
};
365365

366366
const touchEnd = (e: MouseEvent | TouchEvent) => {
367-
if (e.currentTarget instanceof HTMLButtonElement && e.currentTarget.hasAttribute('disabled')) {
368-
e.preventDefault()
369-
return
367+
if (
368+
e.currentTarget instanceof HTMLButtonElement &&
369+
e.currentTarget.hasAttribute('disabled')
370+
) {
371+
e.preventDefault();
372+
return;
370373
}
371374
if (Date.now() - touchTimestamp.current < TOOLTIP_DELAY) {
372375
clearTimeout(touchTimeout.current);

0 commit comments

Comments
 (0)