From cc58b031d30ae756f1ff878278a339ebb50d71aa Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 27 Oct 2022 00:51:32 +0100 Subject: [PATCH] cleanup unused react-bootstrap import --- libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx | 1 - .../clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx | 1 - .../debugger-ui/src/lib/button-navigator/button-navigator.tsx | 1 - libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx | 1 - libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx | 1 - libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx | 1 - libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx | 1 - 7 files changed, 7 deletions(-) diff --git a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx index 6abb39c024..6383789a24 100644 --- a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx +++ b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx @@ -1,6 +1,5 @@ import { CustomTooltip } from '@remix-ui/helper'; import React, { CSSProperties } from 'react' //eslint-disable-line -import { OverlayProps, OverlayTrigger, OverlayTriggerProps, Tooltip } from 'react-bootstrap'// eslint-disable-line import './remix-ui-checkbox.css' type Placement = import('react-overlays/usePopper').Placement; diff --git a/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx b/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx index d97cc622a1..78b4624df1 100644 --- a/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx +++ b/libs/remix-ui/clipboard/src/lib/copy-to-clipboard/copy-to-clipboard.tsx @@ -1,6 +1,5 @@ import React, { useState } from 'react' import copy from 'copy-to-clipboard' -import { OverlayTrigger, Tooltip } from 'react-bootstrap' import { Placement } from 'react-bootstrap/esm/Overlay' import './copy-to-clipboard.css' diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx index 83101e8277..260b0140a6 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx @@ -1,6 +1,5 @@ import { CustomTooltip } from '@remix-ui/helper' import React, { useState, useEffect } from 'react' // eslint-disable-line -import { OverlayTrigger, Tooltip } from 'react-bootstrap' import './button-navigator.css' export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, stepOverForward, jumpOut, jumpPreviousBreakpoint, jumpNextBreakpoint, jumpToException, revertedReason, stepState, jumpOutDisabled }) => { diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index edc94a9353..ae29aac379 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -9,7 +9,6 @@ import { Toaster } from '@remix-ui/toaster' // eslint-disable-line import { CustomTooltip, isValidHash } from '@remix-ui/helper' /* eslint-disable-next-line */ import './debugger-ui.css' -import { OverlayTrigger, Tooltip } from 'react-bootstrap' const _paq = (window as any)._paq = (window as any)._paq || [] export const DebuggerUI = (props: DebuggerUIProps) => { diff --git a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx index c048873483..57f46d0b59 100644 --- a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx @@ -1,6 +1,5 @@ import { CustomTooltip } from '@remix-ui/helper' import React, { useState, useEffect, useRef } from 'react' //eslint-disable-line -import { OverlayTrigger, Tooltip } from 'react-bootstrap' import './tx-browser.css' export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, transactionNumber, debugging }) => { diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx index 24683125ae..b0527ad116 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx @@ -3,7 +3,6 @@ import BasicLogo from 'libs/remix-ui/vertical-icons-panel/src/lib/components/BasicLogo' import { ThemeContext } from '../themeContext' import React, { useEffect, useState, useRef, useContext } from 'react' -import { OverlayTrigger, Tooltip } from 'react-bootstrap'// eslint-disable-line import { CustomTooltip } from '@remix-ui/helper' function HomeTabTitle() { diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx index 0fc33a50a9..1b6bb08092 100644 --- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import React, { useContext } from 'react' import { ThemeContext } from '../themeContext' -import { OverlayTrigger, Tooltip } from 'react-bootstrap' // eslint-disable-line import { CustomTooltip } from '@remix-ui/helper' interface PluginButtonProps { imgPath: string,