File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
plugins/backstage-plugin-coder/src
components/CoderWorkspacesCard Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ export function useCoderWorkspacesQuery({
13
13
coderQuery,
14
14
workspacesConfig,
15
15
} : QueryInput ) {
16
- const auth = useInternalCoderAuth ( ) ;
17
16
const sdk = useCoderSdk ( ) ;
17
+ const auth = useInternalCoderAuth ( ) ;
18
18
const hasRepoData = workspacesConfig && workspacesConfig . repoUrl ;
19
19
20
20
const queryOptions = hasRepoData
Original file line number Diff line number Diff line change 2
2
* @file This defines the general helper for accessing the Coder SDK from
3
3
* Backstage in a type-safe way.
4
4
*
5
- * This hook is meant to be used both internally AND externally. It exposes some
6
- * auth helpers to make end users' lives easier, but all of them go through
7
- * useEndUserCoderAuth. If building any internal components, be sure to have a
8
- * call to useInternalCoderAuth somewhere, to make sure that the component
9
- * interfaces with the fallback auth UI inputs properly.
10
- *
11
- * See CoderAuthProvider.tsx for more info.
5
+ * This hook is meant to be used both internally AND externally.
12
6
*/
13
7
import { useApi } from '@backstage/core-plugin-api' ;
14
8
import { coderClientApiRef , type BackstageCoderSdk } from '../api/CoderClient' ;
You can’t perform that action at this time.
0 commit comments