Skip to content

Commit 2816bd0

Browse files
committed
Unify imports
1 parent e05bbe6 commit 2816bd0

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

packages/connect-react/src/components/ControlApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type {
1212
Account,
1313
App,
1414
ConfigurablePropApp,
15-
} from "@pipedream/sdk/browser";
15+
} from "@pipedream/sdk";
1616

1717
const BaseOption = (props: OptionProps<SelectValue>) => {
1818
// const imgSrc =

packages/connect-react/src/components/ControlSubmit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FormContext } from "../hooks/form-context";
22
import { useCustomize } from "../hooks/customization-context";
33
import type { CSSProperties } from "react";
4-
import { ConfigurableProps } from "@pipedream/sdk/browser";
4+
import type { ConfigurableProps } from "@pipedream/sdk";
55

66
export type ControlSubmitProps<T extends ConfigurableProps> = {
77
form: FormContext<T>;

packages/connect-react/src/components/RemoteOptionsContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ConfigureComponentOpts } from "@pipedream/sdk/browser";
1+
import type { ConfigureComponentOpts } from "@pipedream/sdk";
22
import { useQuery } from "@tanstack/react-query";
33
import { useState } from "react";
44
import { useFormContext } from "../hooks/form-context";

packages/connect-react/src/hooks/form-field-context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
ConfigurablePropApp,
77
PropValue,
88
} from "@pipedream/sdk";
9-
import { App } from "@pipedream/sdk/browser";
9+
import type { App } from "@pipedream/sdk";
1010

1111
export type FormFieldContextExtra<T extends ConfigurableProp> = T extends ConfigurablePropApp ? {
1212
app?: App;

packages/connect-react/src/hooks/use-accounts.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import {
2-
useQuery, UseQueryOptions,
2+
useQuery,
3+
UseQueryOptions,
34
} from "@tanstack/react-query";
4-
import type { GetAccountOpts } from "@pipedream/sdk";
55
import { useFrontendClient } from "./frontend-client-context";
6-
import { GetAccountsResponse } from "@pipedream/sdk/browser";
6+
import type {
7+
GetAccountOpts,
8+
GetAccountsResponse,
9+
} from "@pipedream/sdk";
710

811
/**
912
* Retrieves the list of accounts associated with the project.

packages/connect-react/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
ConfigureComponentResponse as SdkConfigureComponentResponse,
33
ReloadComponentPropsResponse as SdkReloadComponentPropsResponse,
4-
} from "@pipedream/sdk/browser";
4+
} from "@pipedream/sdk";
55

66
export type SdkError = {
77
name: string;

0 commit comments

Comments
 (0)