diff --git a/src/standalone/preloads.ts b/src/standalone/preloads.ts index e62af81..07a87e5 100644 --- a/src/standalone/preloads.ts +++ b/src/standalone/preloads.ts @@ -2,10 +2,10 @@ import moment from "moment"; import JSONSchemasInterface from "@mat3ra/esse/dist/js/esse/JSONSchemasInterface"; import esseSchemas from "@mat3ra/esse/dist/js/schemas.json"; import { ApplicationRegistry } from "@mat3ra/standata"; -import { ApplicationDriver } from "@mat3ra/standata/dist/js/ApplicationDriver"; +import StandataDriver from "@mat3ra/standata/dist/js/StandataDriver"; // Bootstrap — must run before any component renders. JSONSchemasInterface.setSchemas(esseSchemas as any); -ApplicationRegistry.setDriver(new ApplicationDriver()); +ApplicationRegistry.setDriver(new StandataDriver()); (window as any).moment = moment;