Skip to content

Commit

Permalink
Fix typo that causes errors and makes lib unusable. (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guuz authored Feb 15, 2022
1 parent 435d5b4 commit c06973b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { Text, View } from 'react-native';
import Animated, { EasingNode } from 'react-native-reanimated';

const NUMBERS = Array(10).fill()..map((_, i) => i);
const NUMBERS = Array(10).fill().map((_, i) => i);

const usePrevious = (value) => {
const ref = React.useRef();
Expand Down

0 comments on commit c06973b

Please sign in to comment.