Commit 07064291 authored by yann300's avatar yann300

switch to "Local host" when connected

parent 9d62191f
......@@ -90,6 +90,7 @@ export const Workspace = (props: WorkspaceProps) => {
useEffect(() => {
props.localhost.event.register('connected', () => {
remixdExplorer.show()
setWorkspace(LOCALHOST)
})
props.localhost.event.register('disconnected', () => {
......
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