Skip to content

Commit 3fddaca

Browse files
authored
Fix typo in docs, fix same typos in internal code (#2124)
1 parent 2685c98 commit 3fddaca

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cypress/integration/parallax.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('Parallax - vertical', () => {
99
})
1010

1111
it('should translate layers as expected', () => {
12-
// intial snapshot
12+
// initial snapshot
1313
console.log(HEIGHT, WIDTH)
1414

1515
cy.findByTestId('container').matchImageSnapshot('vertical #1', {
@@ -100,7 +100,7 @@ describe('Parallax - horizontal', () => {
100100
})
101101

102102
it('should translate layers as expected', () => {
103-
// intial snapshot
103+
// initial snapshot
104104
cy.findByTestId('container').matchImageSnapshot('horizontal #1', {
105105
clip: { x: 0, y: 0, width: WIDTH, height: HEIGHT },
106106
})

docs/app/data/fixtures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export const TRANSITION_CONFIG_DATA: CellData[][] = [
596596
null,
597597
],
598598
[
599-
'intial',
599+
'initial',
600600
{
601601
label: 'object | function',
602602
content: <code>{`(item: Item, index: number) => object`}</code>,

packages/core/src/hooks/useSpringValue.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('useSpringValue', () => {
128128
expect(spring2Frames).not.toEqual(spring1Frames)
129129
})
130130

131-
it('should not update the intial value on rerender', () => {
131+
it('should not update the initial value on rerender', () => {
132132
const { result, rerender } = renderHook(props => useSpringValue(props), {
133133
initialProps: 0,
134134
})

0 commit comments

Comments
 (0)