File tree Expand file tree Collapse file tree 1 file changed +22
-14
lines changed
apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain Expand file tree Collapse file tree 1 file changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
1818 TableHeader ,
1919 TableRow ,
2020} from "@/components/ui/table" ;
21+ import { ToolTipLabel } from "@/components/ui/tooltip" ;
2122import { getThirdwebClient } from "@/constants/thirdweb.server" ;
2223import { zodResolver } from "@hookform/resolvers/zod" ;
2324import { useMutation } from "@tanstack/react-query" ;
@@ -207,20 +208,27 @@ export function DataTable({
207208 render = { ( { field } ) => (
208209 < FormItem >
209210 < FormControl >
210- < div className = "flex" >
211- < Input className = "rounded-r-0 border-r-none" { ...field } />
212- < Button
213- type = "button"
214- onClick = { ( ) =>
215- crossChainTransferMutation . mutate (
216- row . getValue ( "chainId" ) ,
217- )
218- }
219- className = "rounded-lg rounded-r-0 border border-r-none"
220- >
221- Transfer
222- </ Button >
223- </ div >
211+ < ToolTipLabel label = "Coming soon" >
212+ < div className = "flex" >
213+ < Input
214+ className = "w-22 rounded-r-none border-r-0"
215+ placeholder = "amount"
216+ { ...field }
217+ />
218+ < Button
219+ type = "button"
220+ disabled
221+ onClick = { ( ) =>
222+ crossChainTransferMutation . mutate (
223+ row . getValue ( "chainId" ) ,
224+ )
225+ }
226+ className = "rounded-lg rounded-l-none border border-l-0"
227+ >
228+ Transfer
229+ </ Button >
230+ </ div >
231+ </ ToolTipLabel >
224232 </ FormControl >
225233 < FormMessage />
226234 </ FormItem >
You can’t perform that action at this time.
0 commit comments