@ -82,7 +82,7 @@ class WorkspaceFileProvider extends FileProvider {
createWorkspace (name) {
if (!name) name = 'default_workspace'
this.event.trigger('create_workspace', [name])
this.event.trigger('createWorkspace', [name])
}
@ -105,7 +105,7 @@ export const Workspace = (props: WorkspaceProps) => {
remixdExplorer.loading()
})
props.workspace.event.register('create_workspace', (name) => {
props.workspace.event.register('createWorkspace', (name) => {
createNewWorkspace(name)