File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
app2/src/routes/udrop/claim/step Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { goto } from " $app/navigation"
3
2
import Button from " $lib/components/ui/Button.svelte"
4
3
import { dashboard } from " $lib/dashboard/stores/user.svelte"
5
4
import { Option } from " effect"
@@ -24,17 +23,6 @@ function handleViewTransaction() {
24
23
onSome : (hash ) => window .open (` https://etherscan.io/tx/${hash } ` , " _blank" ),
25
24
})
26
25
}
27
-
28
- function handleStake() {
29
- goto (" /stake" )
30
- }
31
-
32
- function handleUniswap() {
33
- // Direct link to the Union/WETH pool on Uniswap
34
- const uniswapPoolUrl =
35
- " https://app.uniswap.org/explore/pools/ethereum/0x0801481ba598d86e221a5ff0ccb02c97d5b0fbd803c662c66af604aa35119fe0"
36
- window .open (uniswapPoolUrl , " _blank" )
37
- }
38
26
</script >
39
27
40
28
<StepLayout >
@@ -79,7 +67,7 @@ function handleUniswap() {
79
67
<Button
80
68
variant =" primary"
81
69
class =" flex items-center justify-center gap-3 w-full"
82
- onclick ={ handleStake }
70
+ href = " /stake "
83
71
>
84
72
<svg
85
73
class =" w-4 h-4"
@@ -100,7 +88,9 @@ function handleUniswap() {
100
88
<Button
101
89
variant =" secondary"
102
90
class =" flex items-center justify-center gap-3 w-full"
103
- onclick ={handleUniswap }
91
+ href =" https://app.uniswap.org/explore/pools/ethereum/0x0801481ba598d86e221a5ff0ccb02c97d5b0fbd803c662c66af604aa35119fe0"
92
+ target =" _blank"
93
+ rel =" noopener noreferrer"
104
94
>
105
95
<svg
106
96
class =" w-4 h-4"
You can’t perform that action at this time.
0 commit comments