Skip to content

Commit bacf632

Browse files
committed
Fix type error
1 parent b039b70 commit bacf632

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

apps/landing/src/app/TransInput.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
'use client'
22

3-
import { Box, DevupProps, Flex, Input, Text } from '@devup-ui/react'
3+
import { Box, Flex, Input, Text } from '@devup-ui/react'
44
import { useEffect, useRef, useState } from 'react'
55

6-
import { Merge } from '@/types'
7-
86
export function TransInput({
97
blurPlaceholder,
108
focusPlaceholder,
@@ -14,7 +12,7 @@ export function TransInput({
1412
blurPlaceholder: string
1513
focusPlaceholder: string
1614
isFocused?: boolean
17-
} & Merge<React.ComponentProps<'textarea'>, DevupProps<'textarea'>>) {
15+
} & React.ComponentProps<'textarea'>) {
1816
const [boxHeight, setBoxHeight] = useState(0)
1917
const placeholderRef = useRef<HTMLSpanElement>(null)
2018

0 commit comments

Comments
 (0)