Use full component names for custom components in client library

This commit is contained in:
Andrew Kingston 2022-08-11 15:27:51 +01:00
parent 144dec50ea
commit dff1cec9e0
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ const createComponentStore = () => {
if (!state.customComponentManifest) { if (!state.customComponentManifest) {
state.customComponentManifest = {} state.customComponentManifest = {}
} }
state.customComponentManifest[schema.schema.name] = { const componentName = `plugin/${schema.schema.name}/1.0.0`
state.customComponentManifest[componentName] = {
schema, schema,
Component, Component,
} }