Skip to content

Commit

Permalink
refact: remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardogruppelli committed Sep 29, 2022
1 parent f9ae036 commit efec7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function presentate() {
}, TimerEnum.TIMEOUT);
}
function createPivot(direction: DirectionType) {
function createPivot() {
const index = Math.floor(Math.random() * rows);
const object = new Object3D();
Expand Down Expand Up @@ -118,7 +118,7 @@ function animate() {
const direction: DirectionType = Math.round(Math.random())
? 'forwards'
: 'backwards';
const pivot = createPivot(direction);
const pivot = createPivot();
const value = direction === 'forwards' ? Math.PI / 2 : -Math.abs(Math.PI / 2);
anime({
Expand Down

0 comments on commit efec7c8

Please sign in to comment.