File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
components/OrganizationAutocomplete
pages/CreateTemplatesGalleryPage Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
useState ,
10
10
} from "react" ;
11
11
import { useQuery } from "react-query" ;
12
- import { myOrganizations } from "api/queries/users " ;
12
+ import { organizations } from "api/queries/organizations " ;
13
13
import type { Organization } from "api/typesGenerated" ;
14
14
import { Avatar } from "components/Avatar/Avatar" ;
15
15
import { AvatarData } from "components/AvatarData/AvatarData" ;
@@ -46,7 +46,7 @@ export const OrganizationAutocomplete: FC<OrganizationAutocompleteProps> = ({
46
46
// enabled: autoComplete.open,
47
47
// keepPreviousData: true,
48
48
// });
49
- const organizationsQuery = useQuery ( myOrganizations ( ) ) ;
49
+ const organizationsQuery = useQuery ( organizations ( ) ) ;
50
50
51
51
const { debounced : debouncedInputOnChange } = useDebouncedFunction (
52
52
( event : ChangeEvent < HTMLInputElement > ) => {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { Margins } from "components/Margins/Margins";
13
13
import { OrganizationAutocomplete } from "components/OrganizationAutocomplete/OrganizationAutocomplete" ;
14
14
import { PageHeader , PageHeaderTitle } from "components/PageHeader/PageHeader" ;
15
15
// import { useDashboard } from "modules/dashboard/useDashboard";
16
- import type { StarterTemplatesByTag } from "utils/starterTemplates " ;
16
+ import type { StarterTemplatesByTag } from "utils/templateAggregators " ;
17
17
import { StarterTemplates } from "./StarterTemplates" ;
18
18
19
19
export interface CreateTemplatePageViewProps {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FC } from "react";
3
3
import { Link , useSearchParams } from "react-router-dom" ;
4
4
import { Stack } from "components/Stack/Stack" ;
5
5
import { TemplateExampleCard } from "modules/templates/TemplateExampleCard/TemplateExampleCard" ;
6
- import type { StarterTemplatesByTag } from "utils/starterTemplates " ;
6
+ import type { StarterTemplatesByTag } from "utils/templateAggregators " ;
7
7
8
8
const getTagLabel = ( tag : string ) => {
9
9
const labelByTag : Record < string , string > = {
Original file line number Diff line number Diff line change 7
7
PageHeaderSubtitle ,
8
8
PageHeaderTitle ,
9
9
} from "components/PageHeader/PageHeader" ;
10
- import type { StarterTemplatesByTag } from "utils/starterTemplates " ;
10
+ import type { StarterTemplatesByTag } from "utils/templateAggregators " ;
11
11
import { StarterTemplates } from "./StarterTemplates" ;
12
12
13
13
export interface StarterTemplatesPageViewProps {
You can’t perform that action at this time.
0 commit comments