File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
packages/nami/src/ui/app/components Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ import { MdUsb } from 'react-icons/md';
24
24
import { ERROR } from '../../../config/config' ;
25
25
26
26
import type { PasswordObj as Password } from '@lace/core' ;
27
- import { useCaptureEvent } from '../../../features/analytics/hooks' ;
28
- import { Events } from '../../../features/analytics/events' ;
29
27
30
28
interface Props {
31
29
ready ?: boolean ;
@@ -277,7 +275,6 @@ const ConfirmModalHw = ({
277
275
} : Readonly < ConfirmModalHwProps > ) => {
278
276
const [ waitReady , setWaitReady ] = React . useState ( true ) ;
279
277
const [ error , setError ] = React . useState ( '' ) ;
280
- const capture = useCaptureEvent ( ) ;
281
278
282
279
const confirmHandler = async ( ) => {
283
280
if (
@@ -303,7 +300,6 @@ const ConfirmModalHw = ({
303
300
try {
304
301
await props . sign ( ) ;
305
302
await props . onConfirm ( true ) ;
306
- capture ( Events . SendTransactionConfirmed ) ;
307
303
} catch ( error_ ) {
308
304
console . error ( error_ ) ;
309
305
if ( error_ === ERROR . submit ) props . onConfirm ( false , error_ ) ;
You can’t perform that action at this time.
0 commit comments