@firecms/collection_editor 3.0.0-canary.111 → 3.0.0-canary.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -3612,7 +3612,7 @@ function GetCodeDialog({
|
|
|
3612
3612
|
open
|
|
3613
3613
|
}) {
|
|
3614
3614
|
const snackbarController = useSnackbarController();
|
|
3615
|
-
const code = collection ? 'import { EntityCollection } from "firecms";\n\nconst ' + (collection?.name ? camelCase(collection.name) : "my") + "Collection:EntityCollection = " + JSON5.stringify(collectionToCode(collection), null, " ") : "No collection selected";
|
|
3615
|
+
const code = collection ? 'import { EntityCollection } from "@firecms/core";\n\nconst ' + (collection?.name ? camelCase(collection.name) : "my") + "Collection:EntityCollection = " + JSON5.stringify(collectionToCode(collection), null, " ") : "No collection selected";
|
|
3616
3616
|
return /* @__PURE__ */ jsxs(
|
|
3617
3617
|
Dialog,
|
|
3618
3618
|
{
|