Skip to content

Commit 1093103

Browse files
committed
Make it switch workspaces
1 parent c93dde3 commit 1093103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/xServices/workspace/workspaceXService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ export const workspaceMachine = createMachine(
5252
},
5353
id: "workspaceState",
5454
initial: "idle",
55+
on: {
56+
GET_WORKSPACE: "gettingWorkspace",
57+
},
5558
states: {
5659
idle: {
57-
on: {
58-
GET_WORKSPACE: "gettingWorkspace",
59-
},
6060
tags: "loading",
6161
},
6262
gettingWorkspace: {

0 commit comments

Comments
 (0)