Skip to content

Commit

Permalink
patch(vest): Suite dump runs on available root
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Sep 25, 2023
1 parent 26b4a09 commit 89a843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vest/src/suite/createSuite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function createSuite<
VestRuntime.persist(suite),
{
dump: VestRuntime.persist(
() => VestRuntime.useHistoryRoot()[0] as TIsolateSuite
() => VestRuntime.useAvailableRoot() as TIsolateSuite
),
get: VestRuntime.persist(useCreateSuiteResult),
remove: Bus.usePrepareEmitter<string>(Events.REMOVE_FIELD),
Expand Down

2 comments on commit 89a843f

@vercel
Copy link

@vercel vercel bot commented on 89a843f Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest – ./website

vest.vercel.app
vest-git-latest-ealush.vercel.app
vestjs.dev
vest-ealush.vercel.app
www.vestjs.dev

@vercel
Copy link

@vercel vercel bot commented on 89a843f Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-next-ealush.vercel.app
vest-next.vercel.app
vest-website.vercel.app
vest-next-git-latest-ealush.vercel.app

Please sign in to comment.