Skip to content

Commit

Permalink
updated userId type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
leyasalazar committed Aug 29, 2023
1 parent 720a4e2 commit 15efaac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/app/users/UserContactMethodCreateDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const userConflictQuery = gql`
`

export default function UserContactMethodCreateDialog(props: {
userID: string | null
userID: string
onClose: (contactMethodID?: string) => void
title?: string
subtitle?: string
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/util/RequireConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ConfigContext = React.createContext({
integrationKeyTypes: [] as IntegrationKeyTypeInfo[],
config: [] as ConfigValue[],
isAdmin: false as boolean,
userID: null as string | null,
userID: "" as string,
userName: null as string | null,
})
ConfigContext.displayName = 'ConfigContext'
Expand Down Expand Up @@ -94,7 +94,7 @@ const mapConfig = (value: ConfigValue[]): ConfigData => {

export type SessionInfo = {
isAdmin: boolean
userID: string | null
userID: string
userName: string | null
ready: boolean
}
Expand Down

0 comments on commit 15efaac

Please sign in to comment.