Skip to content

Commit 789f87e

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
test(ui): import OTP test button prop type
1 parent 0e2136a commit 789f87e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sim/app/(auth)/verify/otp-error-source.test.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @vitest-environment jsdom */
2-
import { act, type InputHTMLAttributes, type ReactNode } from 'react'
2+
import { act, type ButtonHTMLAttributes, type InputHTMLAttributes, type ReactNode } from 'react'
33
import { createRoot, type Root } from 'react-dom/client'
44
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
55

@@ -60,7 +60,7 @@ vi.mock('@/app/(auth)/components', () => ({
6060
loading: _loading,
6161
loadingLabel: _loadingLabel,
6262
...props
63-
}: React.ButtonHTMLAttributes<HTMLButtonElement> & {
63+
}: ButtonHTMLAttributes<HTMLButtonElement> & {
6464
loading?: boolean
6565
loadingLabel?: string
6666
}) => (

0 commit comments

Comments
 (0)