Skip to content

Commit dd0e63f

Browse files
committed
fixed typos
1 parent 2ae833f commit dd0e63f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guides/content-security-policy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Background reading on CSP
1111
- [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP)
1212
- [Helmetjs guide](https://helmetjs.github.io/docs/csp/)
1313

14-
`react-beautiful-dnd` creates a `<style>` element in the `<head>` and dynamically updates it's value (see [/docs/guides/preset-styles.md] and [Dragging React performance forward](https://medium.com/@alexandereardon/dragging-react-performance-forward-688b30d40a33)). This is considered a _unsafe inline_ and will violate the strict CSP policy: `Content-Security-Policy: style-src 'self'`
14+
`react-beautiful-dnd` creates a `<style>` element in the `<head>` and dynamically updates it's value (see [/docs/guides/preset-styles.md] and [Dragging React performance forward](https://medium.com/@alexandereardon/dragging-react-performance-forward-688b30d40a33)). This is considered an _unsafe inline_ and will violate the strict CSP policy: `Content-Security-Policy: style-src 'self'`
1515

1616
## Option 1: use `unsafe-inline`
1717

docs/sensors/sensor-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function App() {
5757

5858
![programmatic state flow](https://user-images.githubusercontent.com/2182637/58779115-35b67d80-8618-11e9-8934-6dfa2b14ce23.jpg)
5959

60-
1. Try to get a **lock** when a `sensor` wants to drag and item. A sensor might not be able to claim a lock for a variety of reasons, such as when another `sensor` already has a **lock**.
60+
1. Try to get a **lock** when a `sensor` wants to drag an item. A sensor might not be able to claim a lock for a variety of reasons, such as when another `sensor` already has a **lock**.
6161
2. If a **lock** is obtained then there are a number of _pre drag_ actions available to you (`PreDragActions`). This allows a `sensor` to claim a lock before starting a drag. This is important for things like [sloppy click detection](/docs/sensors/mouse.md#sloppy-clicks-and-click-prevention-) where a drag is only started after a sufficiently large movement.
6262
3. A _pre drag_ lock can be upgraded to a _drag lock_, which contains a different set of APIs (`FluidDragActions` or `SnapDragActions`). Once a `<Draggable />` has been lifted, it can be moved around.
6363

0 commit comments

Comments
 (0)