Skip to content

Commit 1d4b555

Browse files
chore(components): address the linter issues
1 parent 81e62f0 commit 1d4b555

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/components/src/CopyToClipboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { ReactNode } from 'react';
22

3-
import { Tooltip, TooltipTrigger } from '@launchpad-ui/components';
43
import { PressResponder } from '@react-aria/interactions';
54

5+
import { Tooltip, TooltipTrigger } from './Tooltip';
66
import { copyToClipboard } from './utils';
77

88
type CopyToClipboardProps = {

packages/components/src/Snippet.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { IconButton } from '@launchpad-ui/components';
21
import Prism from 'prismjs';
32
import { type JSX, useLayoutEffect, useRef } from 'react';
43

4+
import { IconButton } from './IconButton';
5+
56
// Import languages based on what you need
67
import 'prismjs/components/prism-apex';
78
import 'prismjs/components/prism-bash';

packages/components/src/utils.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ import type { Href } from '@react-types/shared';
22
import type { Context, ReactNode, Ref } from 'react';
33
import type { ContextValue, SlotProps } from 'react-aria-components';
44

5-
import { toastQueue } from '@launchpad-ui/components';
65
import { announce } from '@react-aria/live-announcer';
76
import { mergeRefs } from '@react-aria/utils';
87
import { useEffect, useLayoutEffect, useMemo, useState } from 'react';
98
import { mergeProps } from 'react-aria';
109
import { useSlottedContext } from 'react-aria-components';
1110
import { useHref as useRouterHref } from 'react-router';
1211

12+
import { toastQueue } from './Toast';
13+
1314
type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
1415

1516
const useMedia = (media: string) => {

0 commit comments

Comments
 (0)