Skip to content

Commit 10db13d

Browse files
committed
fix: correct typo
1 parent 805d8be commit 10db13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__tests__/useOnInView.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const LazyOnInViewChangedComponent = ({
6666
);
6767
};
6868

69-
const OnInViewChangedComponentWithoutClenaup = ({
69+
const OnInViewChangedComponentWithoutCleanup = ({
7070
options,
7171
unmount,
7272
}: {
@@ -227,7 +227,7 @@ test("should respect triggerOnce option", () => {
227227
const { getByTestId } = render(
228228
<>
229229
<OnInViewChangedComponent />
230-
<OnInViewChangedComponentWithoutClenaup options={{ triggerOnce: true }} />
230+
<OnInViewChangedComponentWithoutCleanup options={{ triggerOnce: true }} />
231231
</>,
232232
);
233233
const wrapper = getByTestId("wrapper");

0 commit comments

Comments
 (0)