Skip to content

Commit 4771e05

Browse files
committed
fix lint
1 parent b9de7c4 commit 4771e05

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ import { CustomTooltipType } from '../../types/customtooltip'
55
export function CustomTooltip({ children, placement, tooltipId, tooltipClasses, tooltipText, tooltipTextClasses, delay, hide, show }: CustomTooltipType) {
66
// Global tooltip disable flag for E2E tests
77
const [globalDisable, setGlobalDisable] = useState((window as any).REMIX_DISABLE_TOOLTIPS === true)
8-
8+
99
// Listen for custom event when tooltip disable flag changes
1010
useEffect(() => {
1111
const handleTooltipToggle = (event: CustomEvent) => {
1212
setGlobalDisable(event.detail.disabled)
1313
}
14-
14+
1515
window.addEventListener('remix-tooltip-toggle', handleTooltipToggle as EventListener)
1616
return () => {
1717
window.removeEventListener('remix-tooltip-toggle', handleTooltipToggle as EventListener)
1818
}
1919
}, [tooltipId])
20-
20+
2121
if (typeof tooltipText !== 'string') {
2222
tooltipText = React.cloneElement(tooltipText, {
2323
className: ' bg-body text-wrap p-1 px-2 '

libs/remix-ui/terminal/src/lib/terminalWelcome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { Registry } from '@remix-project/remix-lib'
55
const TerminalWelcomeMessage = ({ packageJson, storage }) => {
66
// Don't show the welcome message in Electron - desktop client shows its own version
77
const isDesktop = Registry.getInstance().get('platform')?.api?.isDesktop?.() || false
8-
8+
99
if (isDesktop) {
1010
return null
1111
}
12-
12+
1313
return (
1414
<div className="remix_ui_terminal_block px-4 " data-id="block_null">
1515
<div className="remix_ui_terminal_welcome">

0 commit comments

Comments
 (0)