File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,9 @@ export const useGetMerklFarms = () => {
328328 }
329329 resFarmData . push ( ...farmData ) ;
330330 }
331+
331332 if ( ! resFarmData ) return [ ] ;
333+ console . log ( 'resFarmData' , resFarmData ) ;
332334 const farmList : any [ ] = [ ] ;
333335 resFarmData . forEach ( ( farmData : any ) => {
334336 if ( farmData . chainId !== chainId || farmData . status !== 'LIVE' ) return ;
@@ -396,6 +398,9 @@ export const useGetMerklFarms = () => {
396398
397399 farmList . push ( farm ) ;
398400 } ) ;
401+
402+ console . log ( 'farmList' , farmList ) ;
403+
399404 return farmList ;
400405 } ;
401406 const lastTx = useLastTransactionHash ( ) ;
@@ -420,6 +425,7 @@ export const useMerklFarms = () => {
420425 const { isLoading : loadingGamma , data : gammaData } = useGammaData ( ) ;
421426 const { loading : loadingICHI , data : ichiVaults } = useICHIVaults ( ) ;
422427 const ichiVaultsFiltered = useMemo ( ( ) => {
428+ console . log ( 'merklFarms' , merklFarms ) ;
423429 if ( ! merklFarms ) return [ ] ;
424430 return ichiVaults . filter (
425431 ( vault ) =>
You can’t perform that action at this time.
0 commit comments