Skip to content

Commit

Permalink
Fix typo in docs, fix same typos in internal code (#2124)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj authored Mar 21, 2023
1 parent 2685c98 commit 3fddaca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/parallax.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Parallax - vertical', () => {
})

it('should translate layers as expected', () => {
// intial snapshot
// initial snapshot
console.log(HEIGHT, WIDTH)

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

it('should translate layers as expected', () => {
// intial snapshot
// initial snapshot
cy.findByTestId('container').matchImageSnapshot('horizontal #1', {
clip: { x: 0, y: 0, width: WIDTH, height: HEIGHT },
})
Expand Down
2 changes: 1 addition & 1 deletion docs/app/data/fixtures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ export const TRANSITION_CONFIG_DATA: CellData[][] = [
null,
],
[
'intial',
'initial',
{
label: 'object | function',
content: <code>{`(item: Item, index: number) => object`}</code>,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/hooks/useSpringValue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('useSpringValue', () => {
expect(spring2Frames).not.toEqual(spring1Frames)
})

it('should not update the intial value on rerender', () => {
it('should not update the initial value on rerender', () => {
const { result, rerender } = renderHook(props => useSpringValue(props), {
initialProps: 0,
})
Expand Down

0 comments on commit 3fddaca

Please sign in to comment.