diff --git a/package.json b/package.json index 9821bcbe..8ec63b34 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "@emotion/react": "^11.11.0", "@emotion/styled": "^11.11.0", "@fontsource/roboto": "^5.0.0", - "@hoprnet/hopr-sdk": "3.0.3-pr.156-20250916114518", + "@hoprnet/hopr-sdk": "3.0.3-pr.156-20250918200326", "@metamask/jazzicon": "^2.0.0", "@mui/icons-material": "^5.11.16", "@mui/material": "^5.13.0", diff --git a/src/store/slices/node/actionsAsync.ts b/src/store/slices/node/actionsAsync.ts index 35eb6b8e..d6f37572 100644 --- a/src/store/slices/node/actionsAsync.ts +++ b/src/store/slices/node/actionsAsync.ts @@ -1078,7 +1078,7 @@ export const createAsyncReducer = (builder: ActionReducerMapBuilder { if (action.meta.arg.apiEndpoint !== state.apiEndpoint) return; - state.channels.corrupted.data = action.payload || []; + state.channels.corrupted.data = action.payload?.channelIds || []; state.channels.corrupted.isFetching = false; }); builder.addCase(getChannelsCorruptedThunk.rejected, (state, action) => { diff --git a/yarn.lock b/yarn.lock index 675582c6..ccaa3227 100644 --- a/yarn.lock +++ b/yarn.lock @@ -719,10 +719,10 @@ resolved "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== -"@hoprnet/hopr-sdk@3.0.3-pr.156-20250916114518": - version "3.0.3-pr.156-20250916114518" - resolved "https://europe-west3-npm.pkg.dev/hoprassociation/npm/@hoprnet/hopr-sdk/-/@hoprnet/hopr-sdk-3.0.3-pr.156-20250916114518.tgz#7837d43929d5f721b6fb83fb9a58ec5753fe4449" - integrity sha512-r07d0yGBtf9PYyzl+7LQqYRQMFULirIwkuYRAg5As11Zie8wnseoaObmDmR6mV8F5shdD9smCdRWquX6u7fosg== +"@hoprnet/hopr-sdk@3.0.3-pr.156-20250918200326": + version "3.0.3-pr.156-20250918200326" + resolved "https://europe-west3-npm.pkg.dev/hoprassociation/npm/@hoprnet/hopr-sdk/-/@hoprnet/hopr-sdk-3.0.3-pr.156-20250918200326.tgz#b2b8c69c7409e813f6e3d3b301f990aa9816a2b3" + integrity sha512-N/ulRNAh9XidpePxidb+f1f48T2chdGteQj2aIHMM/q79UAzM1ItUG5bf/soJPEvEEfPuEBljTVF026hv1dm4g== dependencies: debug "^4.3.4" isomorphic-ws "^5.0.0"