diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
index 4df07c0634..723061b395 100644
--- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
@@ -90,16 +90,16 @@ export function Workspace() {
setState((prevState) => {
return { ...prevState, loggedInGithub: true, githubUser: data.user }
})
- }
+ }
}
- global.plugin.on('dgit', 'disconnectFromGithub', () => {
+ global.plugin.on('dgit', 'disconnectFromGithub', () => {
setState((prevState) => {
return { ...prevState, loggedInGithub: false, githubUser: null }
})
})
- global.plugin.on('dgit', 'loggedInGithubChanged', () => {
+ global.plugin.on('dgit', 'loggedInGithubChanged', () => {
run()
- })
+ })
run()
}, [])
@@ -1164,8 +1164,8 @@ export function Workspace() {
}
- {
- !state.loggedInGithub &&