Skip to content

Commit 04b4baa

Browse files
committed
fix: duplicated button attributes and react import
1 parent e59f4ed commit 04b4baa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/App.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
/* eslint-disable jsx-a11y/click-events-have-key-events */
33
import { TooltipController as Tooltip } from 'components/TooltipController'
44
import type { IPosition, TooltipRefProps } from 'components/Tooltip/TooltipTypes.d'
5-
import type React from 'react'
6-
import { useEffect, useRef, useState } from 'react'
5+
import React, { useEffect, useRef, useState } from 'react'
76
import { inline, offset } from '@floating-ui/dom'
87
import styles from './styles.module.css'
98

@@ -107,10 +106,10 @@ function App() {
107106
>
108107
Anchor select
109108
</button>
110-
<button type="button" type="button" data-tooltip-id="anchor-select">
109+
<button type="button" data-tooltip-id="anchor-select">
111110
Anchor select 2
112111
</button>
113-
<button type="button" type="button" data-tooltip-id="anchor-select">
112+
<button type="button" data-tooltip-id="anchor-select">
114113
Anchor select 3
115114
</button>
116115
</p>

0 commit comments

Comments
 (0)