mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-06-13 02:21:02 +00:00
fix: update URLs, logos, and package versions
- Fix GitHub URLs from pezkuwi-js/apps to pezkuwichain/pezkuwi-apps - Fix wiki URL from wiki.pezkuwi.network to wiki.pezkuwichain.io - Fix support/statement URLs to use pezkuwichain.io domain - Fix chain logos import (use variables instead of strings) - Update @pezkuwi/networks to ^14.0.9 - Update @pezkuwi/types-known to ^16.5.8
This commit is contained in:
@@ -225,7 +225,7 @@ function usePreimageImpl (hashOrBounded?: Hash | HexString | FrameSupportPreimag
|
||||
);
|
||||
|
||||
// api.query.preimage.statusFor has been deprecated in favor of api.query.preimage.requestStatusFor.
|
||||
// To ensure we get all preimages correctly we query both storages. see: https://github.com/pezkuwi-js/apps/pull/10310
|
||||
// To ensure we get all preimages correctly we query both storages. see: https://github.com/pezkuwichain/pezkuwi-apps/pull/10310
|
||||
const optStatus = useCall<Option<PalletPreimageRequestStatus>>(!inlineData && paramsStatus && api.query.preimage?.statusFor, paramsStatus);
|
||||
const optRequstStatus = useCall<Option<PalletPreimageRequestStatus>>(!inlineData && paramsStatus && api.query.preimage?.requestStatusFor, paramsStatus);
|
||||
const someOptStatus = optStatus?.isSome ? optStatus : optRequstStatus;
|
||||
|
||||
Reference in New Issue
Block a user