pl-fe: fix

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-20 21:27:58 +02:00
parent 584ec12518
commit 024160d00a
4 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "pl-api",
"version": "1.0.0-rc.50",
"version": "1.0.0-rc.51",
"type": "module",
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
"repository": {

View File

@ -104,7 +104,7 @@
"multiselect-react-dropdown": "^2.0.25",
"mutative": "^1.1.0",
"path-browserify": "^1.0.1",
"pl-api": "^1.0.0-rc.50",
"pl-api": "^1.0.0-rc.51",
"postcss": "^8.5.3",
"process": "^0.11.10",
"punycode": "^2.1.1",

View File

@ -10,7 +10,7 @@ const useEndorsedAccounts = (accountId: string) => {
return useQuery({
queryKey: ['accountsLists', 'endorsedAccounts', accountId],
queryFn: () => client.accounts.getAccountEndorsements(accountId).then((accounts) => {
queryFn: () => client.accounts.getAccountEndorsements(accountId).then(({ items: accounts }) => {
dispatch(importEntities({ accounts }));
return accounts.map(({ id }) => id);
}),

View File

@ -6848,10 +6848,10 @@ pkg-dir@^4.1.0:
dependencies:
find-up "^4.0.0"
pl-api@^1.0.0-rc.50:
version "1.0.0-rc.50"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.50.tgz#50587707b3f1d47ec8cd2d4df2c96d7d375c4956"
integrity sha512-izAF1sfWpYpnIGjWSwMaqxIqg6WfEomOSl57X5TCSwRhG2otCFTN4qPDUrcwxHmI9mUneAAfsYrT2ebz9jd7sQ==
pl-api@^1.0.0-rc.51:
version "1.0.0-rc.51"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.51.tgz#4d28bbbabd2914ea962fc5510cb5bf08d70c73a1"
integrity sha512-hugxCGwFFs+VtFV6x9+DuZfcn5kLRvpG822PnxVzVnlCc1OON4vPnXREsNngN9ABgEGv8FSoZfFN1Pfk/gJkvg==
dependencies:
blurhash "^2.0.5"
http-link-header "^1.1.3"