Skip to content

Commit

Permalink
fix: rollback block
Browse files Browse the repository at this point in the history
  • Loading branch information
3people committed Apr 6, 2024
1 parent c92595e commit e032e5b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/utils/get-block-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* @param count 몇 번째 블럭인지
*/
export const getBlockIndex = (count: number) => {
// const _count = count > 6 ? 6 : count
console.log(count)
// return Math.floor(Math.random() * (_count - 1)) + 1 // 1 ~ count
return 9
const _count = count > 6 ? 6 : count
return Math.floor(Math.random() * (_count - 1)) + 1 // 1 ~ count
}

0 comments on commit e032e5b

Please sign in to comment.