Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Apr 9, 2024
1 parent 3902a22 commit a00a6e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/react-dom/test/index.test.tsx
Expand Up @@ -192,7 +192,6 @@ describe('whileElementsMounted', () => {
return (
<>
{open && <button ref={refs.setReference} />}
{/* biome-ignore lint/a11y/useKeyWithClickEvents: testing */}
<div
role="tooltip"
ref={refs.setFloating}
Expand Down
5 changes: 0 additions & 5 deletions packages/react/src/hooks/useFloating.ts
Expand Up @@ -21,11 +21,6 @@ import {useId} from './useId';
import {useEffectEvent} from './utils/useEffectEvent';
import {error} from '../utils/log';

let devMessageSet: Set<string> | undefined;
if (__DEV__) {
devMessageSet = new Set();
}

/**
* Provides data to position a floating element and context to add interactions.
* @see https://floating-ui.com/docs/useFloating
Expand Down
1 change: 0 additions & 1 deletion packages/react/test/unit/FloatingFocusManager.test.tsx
Expand Up @@ -134,7 +134,6 @@ describe('initialFocus', () => {
test('respects autoFocus', async () => {
render(
<App>
{/* biome-ignore lint/a11y/noAutofocus: <explanation> */}
<input autoFocus data-testid="input" />
</App>,
);
Expand Down

0 comments on commit a00a6e9

Please sign in to comment.