diff --git a/packages/bruno-app/src/components/RemoveButton/index.js b/packages/bruno-app/src/components/RemoveButton/index.js index a72097bf53..2472ccea5e 100644 --- a/packages/bruno-app/src/components/RemoveButton/index.js +++ b/packages/bruno-app/src/components/RemoveButton/index.js @@ -1,9 +1,10 @@ import { useState, useEffect } from 'react'; import { IconTrash, IconAlertCircle } from '@tabler/icons'; +import ToolHint from 'components/ToolHint/index'; const RemoveButton = ({ onClick }) => { const [isConfirming, setIsConfirming] = useState(false); - const CONFIRM_DURATION = 3000; // 3 seconds + const CONFIRM_DURATION = 1500; // 3 seconds useEffect(() => { let timer; @@ -28,12 +29,13 @@ const RemoveButton = ({ onClick }) => { ); };