From 04b4baaece802dd771ec93a2203e319126bbdc3e Mon Sep 17 00:00:00 2001 From: Daniel Barion Date: Mon, 29 Jul 2024 17:53:04 -0300 Subject: [PATCH] fix: duplicated button attributes and react import --- src/App.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 357ecca1..31f5095c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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' @@ -107,10 +106,10 @@ function App() { > Anchor select - -