Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvagni committed Nov 20, 2023
1 parent 24b0b0f commit 7ea9581
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _snippets/typescript-sdk/delete-customer.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```tsx
import { PlainClient } from '../client';
import { PlainClient } from '@team-plain/typescript-sdk';

const client = new PlainClient({
apiKey: 'XXX',
Expand Down
2 changes: 1 addition & 1 deletion _snippets/typescript-sdk/error-handling.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```tsx {21}
import { PlainClient } from '../client';
import { PlainClient } from '@team-plain/typescript-sdk';

export async function createCustomer() {
const client = new PlainClient({ apiKey: 'XXX' });
Expand Down
2 changes: 1 addition & 1 deletion _snippets/typescript-sdk/page-info-after.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```tsx
import { PlainClient } from '../client';
import { PlainClient } from '@team-plain/typescript-sdk';

const client = new PlainClient({
apiKey: 'XXX',
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/graphql/error-handling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You can see the [full error types in the code of the Typescript SDK](https://git
This is how you can access the error when using the SDK:

```tsx
import { PlainClient } from '../client';
import { PlainClient } from '@team-plain/typescript-sdk';

export async function createCustomer() {
const client = new PlainClient({ apiKey: 'XXX' });
Expand Down

0 comments on commit 7ea9581

Please sign in to comment.