Skip to content

Commit

Permalink
Merge pull request #280 from mobu-of-the-world/bump-react-scripts-5.0.0
Browse files Browse the repository at this point in the history
Bump react-scripts to 5.0.0
  • Loading branch information
pankona authored Dec 23, 2021
2 parents 899a453 + 3f84ea0 commit 359fa2d
Show file tree
Hide file tree
Showing 3 changed files with 4,155 additions and 5,908 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"js-cookie": "^3.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^4.0.1",
"react-scripts": "^5.0.0",
"ress": "^4.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/AppContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const numberToTimeString = (count: number): string => {
return elapsedTime.toISOString().substr(11, 8);
};

const shuffleArray = <T extends unknown>(array: T[]): T[] => {
const shuffleArray = <T,>(array: T[]): T[] => {
for (let i = array.length - 1; i > 0; i--) {
const rand = Math.floor(Math.random() * (i + 1));
[array[i], array[rand]] = [array[rand], array[i]];
Expand Down
Loading

0 comments on commit 359fa2d

Please sign in to comment.