Allow developers to override token behavior only for LSP plugin (#2223)

This commit is contained in:
Frank Noirot
2024-04-30 19:13:46 -04:00
committed by GitHub
parent 20a8f2aa6a
commit d99ab22b56
5 changed files with 27 additions and 13 deletions

View File

@ -85,7 +85,7 @@ export const LspProvider = ({ children }: { children: React.ReactNode }) => {
},
},
} = useSettingsAuthContext()
const token = auth?.context?.token
const token = auth?.context.token
const navigate = useNavigate()
const { overallState } = useNetworkStatus()
const isNetworkOkay = overallState === NetworkHealthState.Ok