Skip to content

Commit

Permalink
fix: duplicated button attributes and react import
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarion committed Jul 29, 2024
1 parent e59f4ed commit 04b4baa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
/* eslint-disable jsx-a11y/click-events-have-key-events */
import { TooltipController as Tooltip } from 'components/TooltipController'
import type { IPosition, TooltipRefProps } from 'components/Tooltip/TooltipTypes.d'
import type React from 'react'
import { useEffect, useRef, useState } from 'react'
import React, { useEffect, useRef, useState } from 'react'
import { inline, offset } from '@floating-ui/dom'
import styles from './styles.module.css'

Expand Down Expand Up @@ -107,10 +106,10 @@ function App() {
>
Anchor select
</button>
<button type="button" type="button" data-tooltip-id="anchor-select">
<button type="button" data-tooltip-id="anchor-select">
Anchor select 2
</button>
<button type="button" type="button" data-tooltip-id="anchor-select">
<button type="button" data-tooltip-id="anchor-select">
Anchor select 3
</button>
</p>
Expand Down

0 comments on commit 04b4baa

Please # to comment.