Commit 35be771e authored by lianahus's avatar lianahus Committed by Liana Husikyan

renamed the event

parent 5ad4f0e2
......@@ -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)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment