From 6506b57a09fb4c4c346d9171eac03217b4d961c0 Mon Sep 17 00:00:00 2001 From: Johnwesley R <47087725+jwr12135@users.noreply.github.com> Date: Mon, 13 Dec 2021 09:11:50 -0500 Subject: [PATCH] Fix spelling typos (#539) --- README.md | 2 +- packages/core/src/hooks/utilities/useAutoScroller.ts | 6 +++--- packages/core/src/hooks/utilities/useSensorSetup.ts | 2 +- packages/sortable/src/components/SortableContext.tsx | 2 +- playground/index.html | 2 +- stories/2 - Presets/Sortable/MultipleContainers.tsx | 8 ++++---- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c856d5cf..9c644b14 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To learn how to get started with **dnd kit**, visit the official documentation website. You'll find in-depth API documentation, tips and guides to help you build drag and drop interfaces.
diff --git a/packages/core/src/hooks/utilities/useAutoScroller.ts b/packages/core/src/hooks/utilities/useAutoScroller.ts
index 4e1f0600..34c7170d 100644
--- a/packages/core/src/hooks/utilities/useAutoScroller.ts
+++ b/packages/core/src/hooks/utilities/useAutoScroller.ts
@@ -114,15 +114,15 @@ export function useAutoScroller({
}
const index = scrollableAncestors.indexOf(scrollContainer);
- const scrolllContainerRect = scrollableAncestorRects[index];
+ const scrollContainerRect = scrollableAncestorRects[index];
- if (!scrolllContainerRect) {
+ if (!scrollContainerRect) {
continue;
}
const {direction, speed} = getScrollDirectionAndSpeed(
scrollContainer,
- scrolllContainerRect,
+ scrollContainerRect,
rect,
acceleration,
threshold
diff --git a/packages/core/src/hooks/utilities/useSensorSetup.ts b/packages/core/src/hooks/utilities/useSensorSetup.ts
index c5a835df..948bf5a2 100644
--- a/packages/core/src/hooks/utilities/useSensorSetup.ts
+++ b/packages/core/src/hooks/utilities/useSensorSetup.ts
@@ -18,7 +18,7 @@ export function useSensorSetup(sensors: SensorDescriptor