import React from 'react'
import { FormattedNumber } from 'react-intl'
export const shortNumberFormat = (number) => {
if (number < 1000) {
try {
return ().props.value
} catch (error) {
return
}
}
return (
k
)
}
export const getRandomInt = (min, max) => {
min = Math.ceil(min)
max = Math.floor(max)
return Math.floor(Math.random() * (max - min + 1)) + min
}