mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-06-13 23:21:07 +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:
@@ -1,5 +1,5 @@
|
||||
# @pezkuwi/react-hooks
|
||||
|
||||
WARNING: This is an internal package to [pezkuwi-js/apps](https://github.com/pezkuwi-js/apps) so is not intended (yet) for broad use. Since these are generic components, they will move to the [pezkuwi-js/ui](https://github.com/pezkuwi-js/ui) repo once deemed stable and usable.
|
||||
WARNING: This is an internal package to [pezkuwichain/pezkuwi-apps](https://github.com/pezkuwichain/pezkuwi-apps) so is not intended (yet) for broad use. Since these are generic components, they will move to the [pezkuwichain/pezkuwi-ui](https://github.com/pezkuwichain/pezkuwi-ui) repo once deemed stable and usable.
|
||||
|
||||
For the existing sharable components usable in external React-based projects, take a look at the [pezkuwi-js/ui documentation](https://pezkuwi.js.org/ui/)
|
||||
For the existing sharable components usable in external React-based projects, take a look at the [pezkuwichain/pezkuwi-ui documentation](https://pezkuwi.js.org/ui/)
|
||||
|
||||
@@ -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