File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
ui/components/editors/auth Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export interface AuthTypeNone {
130
130
}
131
131
132
132
export interface AuthTypeSingleToken {
133
- type : 'singletoken ' ;
133
+ type : 'singleToken ' ;
134
134
token ?: string ;
135
135
disabled ?: boolean ;
136
136
}
Original file line number Diff line number Diff line change 1
1
import React , { type FC , type ReactNode } from 'react' ;
2
2
import { Toolbar } from 'react-aria-components' ;
3
3
4
- import { SingleTokenAuth } from '~/ui/components/editors/auth/single-token-auth' ;
5
-
6
4
import type { AuthTypes } from '~/common/constants' ;
5
+ import { SingleTokenAuth } from '~/ui/components/editors/auth/single-token-auth' ;
7
6
8
7
import type { RequestAuthentication } from '../../../../models/request' ;
9
8
import { getAuthObjectOrNull } from '../../../../network/authentication' ;
@@ -51,7 +50,7 @@ export const AuthWrapper: FC<{
51
50
authBody = < NetrcAuth /> ;
52
51
} else if ( type === 'asap' ) {
53
52
authBody = < AsapAuth /> ;
54
- } else if ( type === 'singletoken ' ) {
53
+ } else if ( type === 'singleToken ' ) {
55
54
authBody = < SingleTokenAuth disabled = { disabled } /> ;
56
55
} else {
57
56
authBody = (
You can’t perform that action at this time.
0 commit comments