diff --git a/packages/vest/src/suite/createSuite.ts b/packages/vest/src/suite/createSuite.ts index 956549f3c..b01644b86 100644 --- a/packages/vest/src/suite/createSuite.ts +++ b/packages/vest/src/suite/createSuite.ts @@ -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(Events.REMOVE_FIELD),