@pear-protocol/symmio-client 0.2.23 → 0.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react/index.mjs
CHANGED
|
@@ -24934,11 +24934,10 @@ function useSymmMarkets(params) {
|
|
|
24934
24934
|
...params?.query,
|
|
24935
24935
|
queryKey: symmKeys.markets(chainId, searchText),
|
|
24936
24936
|
queryFn: () => {
|
|
24937
|
-
const marketsApi = symmCoreClient.markets;
|
|
24938
24937
|
if (searchText) {
|
|
24939
|
-
return
|
|
24938
|
+
return symmCoreClient.markets.search(searchText, { chainId });
|
|
24940
24939
|
}
|
|
24941
|
-
return
|
|
24940
|
+
return symmCoreClient.markets.list({ pageSize: "1000", chainId });
|
|
24942
24941
|
},
|
|
24943
24942
|
enabled: internalEnabled && (params?.query?.enabled ?? true)
|
|
24944
24943
|
});
|