diff --git a/packages/canvas/render/src/RenderMain.js b/packages/canvas/render/src/RenderMain.js index 24962e0e6..5e0c7ea6d 100644 --- a/packages/canvas/render/src/RenderMain.js +++ b/packages/canvas/render/src/RenderMain.js @@ -373,14 +373,6 @@ const setRenderer = (fn) => { canvasRenderer = fn } -let rendererMounted - -const getRendererMounted = () => rendererMounted || function() {} - -const setRendererMounted = (fn) => { - rendererMounted = fn -} - export default { setup() { provide('rootSchema', schema) @@ -445,7 +437,5 @@ export const api = { setGlobalState, setNode, getRenderer, - setRenderer, - getRendererMounted, - setRendererMounted + setRenderer }