File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
frontend/src/screens/settings Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ import { Input } from "src/components/ui/input";
2121import { Label } from "src/components/ui/label" ;
2222import { RadioGroup , RadioGroupItem } from "src/components/ui/radio-group" ;
2323import { Textarea } from "src/components/ui/textarea" ;
24+ import {
25+ Tooltip ,
26+ TooltipContent ,
27+ TooltipProvider ,
28+ TooltipTrigger ,
29+ } from "src/components/ui/tooltip" ;
2430import { useInfo } from "src/hooks/useInfo" ;
2531
2632import { request } from "src/utils/request" ;
@@ -183,7 +189,31 @@ function RefundSwapDialogContent() {
183189 </ ExternalLink >
184190 </ div >
185191 < div className = "flex flex-col gap-2" >
186- < Label htmlFor = "swapId" > Swap Id</ Label >
192+ < Label htmlFor = "swapId" >
193+ < TooltipProvider >
194+ < Tooltip >
195+ < TooltipTrigger >
196+ < div className = "flex flex-row gap-1 items-center text-muted-foreground" >
197+ Swap Id
198+ < InfoIcon className = "h-4 w-4 shrink-0" />
199+ </ div >
200+ </ TooltipTrigger >
201+ < TooltipContent >
202+ < p >
203+ To find the Swap ID, close this dialog and click on the
204+ "List Swaps" button. Then you can look through and find a
205+ swap that is in state "FAILED" and matches the amount you
206+ tried to swap. The latest swaps are at the bottom of the
207+ list.
208+ </ p >
209+ < p className = "mt-2" >
210+ When you have found the swap, copy the value of the id
211+ field. The swap Id will look something like uNHoD8QrAr9b.
212+ </ p >
213+ </ TooltipContent >
214+ </ Tooltip >
215+ </ TooltipProvider >
216+ </ Label >
187217 < Input
188218 id = "swapId"
189219 name = "swapId"
You can’t perform that action at this time.
0 commit comments