Skip to content

Commit

Permalink
Stop only showing 4 history entries (#213)
Browse files Browse the repository at this point in the history
* Stop only showing 4 history entries

* Update package.json

* Fix build script
  • Loading branch information
brettimus authored Aug 29, 2024
1 parent 52e5953 commit 3915035
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.8.0-beta.2",
"version": "0.8.0-beta.3",
"name": "@fiberplane/studio",
"description": "Local development debugging interface for Hono apps",
"author": "Fiberplane<[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build:fpx-studio": "pnpm run clean:fpx-studio && pnpm run build:api && pnpm run build:frontend",
"build:api": "pnpm --filter @fiberplane/studio build",
"build:www": "pnpm --filter www build",
"build:frontend": "pnpm --filter @fiberplane/studio-frontend build && cp -r frontend/dist/* api/dist",
"build:frontend": "pnpm --filter @fiberplane/studio-frontend build && cp -r studio/dist/* api/dist",
"dev:api": "pnpm --filter @fiberplane/studio dev",
"dev:www": "pnpm --filter www dev",
"dev:frontend": "pnpm --filter @fiberplane/studio-frontend dev",
Expand Down
2 changes: 1 addition & 1 deletion studio/src/pages/RequestorPage/useRequestorHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useRequestorHistory({
if (allRequests) {
const cloned = [...allRequests];
cloned.sort(sortRequestornatorsDescending);
return cloned.slice(0, 4);
return cloned;
}
return [];
}, [allRequests]);
Expand Down

0 comments on commit 3915035

Please sign in to comment.