File tree Expand file tree Collapse file tree
src/elements/earn/portfolio/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const V3EarningTableMenuMain = memo(
2222 const { pushModal } = useModal ( ) ;
2323
2424 const handleWithdrawClick = useCallback ( ( ) => {
25- pushModal ( { modalName : ModalNames . V3Withdraw , data : holding } ) ;
25+ pushModal ( { modalName : ModalNames . V3Withdraw , data : { holding } } ) ;
2626 } , [ holding , pushModal ] ) ;
2727
2828 const handleBonusClick = useCallback ( ( ) => {
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ export const V3HoldingPage = () => {
213213 onClick = { ( ) =>
214214 pushModal ( {
215215 modalName : ModalNames . DepositV3 ,
216- data : pool ,
216+ data : { pool } ,
217217 } )
218218 }
219219 size = { ButtonSize . ExtraSmall }
@@ -248,7 +248,7 @@ export const V3HoldingPage = () => {
248248 onClick = { ( ) =>
249249 pushModal ( {
250250 modalName : ModalNames . V3ManagePrograms ,
251- data : holding ,
251+ data : { holding } ,
252252 } )
253253 }
254254 >
@@ -272,7 +272,7 @@ export const V3HoldingPage = () => {
272272 onClick = { ( ) =>
273273 pushModal ( {
274274 modalName : ModalNames . V3Withdraw ,
275- data : holding ,
275+ data : { holding } ,
276276 } )
277277 }
278278 disabled = { isDisabled }
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export const V3HoldingsItemUnstaked = ({ holding }: { holding: Holding }) => {
112112 onClick = { ( ) =>
113113 pushModal ( {
114114 modalName : ModalNames . V3Withdraw ,
115- data : holding ,
115+ data : { holding } ,
116116 } )
117117 }
118118 >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const V3HoldingsItemWithdraw = ({ holding }: { holding: Holding }) => {
2525 onClick = { ( ) =>
2626 pushModal ( {
2727 modalName : ModalNames . V3Withdraw ,
28- data : holding ,
28+ data : { holding } ,
2929 } )
3030 }
3131 >
You can’t perform that action at this time.
0 commit comments