File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/features/feeds/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -184,14 +184,15 @@ export const FeedList = ({
184184 const [ showOnlyDEXFeeds , setShowOnlyDEXFeeds ] = useState ( false )
185185 const [ showOnlyDEXFeedsTestnet , setShowOnlyDEXFeedsTestnet ] = useState ( false )
186186 const paginate = ( pageNumber ) => setCurrentPage ( String ( pageNumber ) )
187- const addrPerPage = 8
187+ // Disable pagination for deprecating feeds by using a very high page size
188+ const addrPerPage = ecosystem === "deprecating" ? 10000 : 8
188189 const lastAddr = Number ( currentPage ) * addrPerPage
189190 const firstAddr = lastAddr - addrPerPage
190191
191192 // Pagination for testnet table
192193 const [ testnetCurrentPage , setTestnetCurrentPage ] = useQueryString ( "testnetPage" , "1" )
193194 const testnetPaginate = ( pageNumber ) => setTestnetCurrentPage ( String ( pageNumber ) )
194- const testnetAddrPerPage = 8
195+ const testnetAddrPerPage = ecosystem === "deprecating" ? 10000 : 8
195196 const testnetLastAddr = Number ( testnetCurrentPage ) * testnetAddrPerPage
196197 const testnetFirstAddr = testnetLastAddr - testnetAddrPerPage
197198
You can’t perform that action at this time.
0 commit comments