From 3672ec06963ee8cdbc2bfc8f44559bd51e4c9ff8 Mon Sep 17 00:00:00 2001 From: lianahus Date: Thu, 11 Jul 2024 17:06:53 +0200 Subject: [PATCH] lint --- .../workspace/src/lib/remix-ui-workspace.tsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 && logInGithub() } className="ml-1 text-success"> Sign in - } - { - state.loggedInGithub && - } - + } +