Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
msarcev committed Feb 23, 2024
2 parents 44b713b + f098367 commit 4419c65
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "explorer-api",
"description": "API for Tangle Explorer",
"version": "3.3.4-rc.1",
"version": "3.3.4",
"author": "Martyn Janes <[email protected]>",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "explorer-client",
"description": "Tangle Explorer UI",
"version": "3.3.4-rc.1",
"version": "3.3.4",
"author": "Martyn Janes <[email protected]>",
"type": "module",
"repository": {
Expand Down
6 changes: 5 additions & 1 deletion client/src/helpers/stardust/hooks/useAddressHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,13 @@ export function useAddressHistory(
const { outputs, cursor: newCursor } = await requestOutputsList(cursor);

if (!newCursor) {
setDisabled?.(true);
// Note: newCursor can be null if there are no more pages, and undefined if there are no results
searchMore = false;
}
if (newCursor === undefined) {
// hide the tab only if there are no results
setDisabled?.(true);
}

const fulfilledOutputs: OutputWithDetails[] = await Promise.all(
outputs.map(async (output) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "explorer",
"description": "Tangle Explorer",
"version": "3.3.4-rc.1",
"version": "3.3.4",
"scripts": {
"setup:client": "cd client && npm install && npm run postinstall",
"setup:api": "cd api && npm install && npm run build-compile && npm run build-config",
Expand Down

0 comments on commit 4419c65

Please sign in to comment.