We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6165b commit 4c56afdCopy full SHA for 4c56afd
site/src/xServices/auth/authSelectors.ts
@@ -1,6 +1,6 @@
1
import { State } from "xstate"
2
import { AuthContext, AuthEvent } from "./authXService"
3
4
-export const selectOrgId = (state: State<AuthContext, AuthEvent>) => {
+export const selectOrgId = (state: State<AuthContext, AuthEvent>): string | undefined => {
5
return state.context.me?.organization_id
6
}
0 commit comments