Skip to content

Commit

Permalink
Correct mistake in migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Jul 11, 2024
1 parent c6c279f commit d3d0c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/migration-guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const { myCustomMetadata } = uppy.getFile(id).meta;
await uppy.upload();

// This is strictly typed too
const { someThingMyBackendReturns } = uppy.getFile(id).response;
const { someThingMyBackendReturns } = uppy.getFile(id).response.body!;
```

### `@uppy/aws-s3` and `@uppy/aws-s3-multipart`
Expand Down Expand Up @@ -204,7 +204,7 @@ instead of per file.

### `@uppy/react`

- Remove deprecated `useUppy` & reintroduce [`useUppyState`](docs/react/#hooks)
- Remove deprecated `useUppy`
- You can no longer set `inline` on the `Dashboard` component, use `Dashboard`
or `DashboardModal` components respectively.

Expand Down

0 comments on commit d3d0c97

Please sign in to comment.