File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,9 @@ const ThanksTokenSend: FC = () => {
157
157
setSelectedUsers ( [ ] ) ;
158
158
setAmount ( 10 ) ;
159
159
}
160
- : undefined
160
+ : ( ) => {
161
+ navigate ( `/${ treeId } ` ) ;
162
+ }
161
163
}
162
164
/>
163
165
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
Text ,
11
11
createListCollection ,
12
12
} from "@chakra-ui/react" ;
13
- import { useSearchParams } from "@remix-run/react" ;
13
+ import { useNavigate , useSearchParams } from "@remix-run/react" ;
14
14
import { ERC20_ABI } from "abi/erc20" ;
15
15
import { publicClient } from "hooks/useViem" ;
16
16
import { useActiveWallet } from "hooks/useWallet" ;
@@ -164,10 +164,15 @@ const Transaction: FC = () => {
164
164
amount ,
165
165
] ) ;
166
166
167
+ const navigate = useNavigate ( ) ;
168
+
167
169
return (
168
170
< Grid gridTemplateRows = "1fr auto" h = "calc(100vh - 72px)" >
169
171
< Box w = "100%" >
170
- < PageHeader title = "トランザクション実行" />
172
+ < PageHeader
173
+ title = "トランザクション実行"
174
+ backLink = { ( ) => navigate ( "/1814" ) }
175
+ />
171
176
172
177
{ /* <SettingsSubSection headingText="トランザクションタイプ">
173
178
<SelectRoot
You can’t perform that action at this time.
0 commit comments