const handlePriceInput = (text) => {
setPrice(text.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","))
}
const handlePriceInput = (text) => {
const unComma = text.toString().replace(/[^\d]+/g, '') //
const comma = unComma.toString().replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,')
setPrice(comma)
}