When the function is called it should display the price State immediately
const db_price= (objekt) => {
Axios.post('http://localhost:3002/custom_price',{
sku: objekt.sku,
}).then(res =>{
setPrice(res.data[0].item_price+" €");
})
};