Remove console.logs

This commit is contained in:
Daniel Egger 2023-09-26 11:35:45 +02:00
parent 0444658ce3
commit 3ae215296b
1 changed files with 0 additions and 4 deletions

View File

@ -101,8 +101,6 @@ const props = defineProps<{
log.debug("RatingScale created", props); log.debug("RatingScale created", props);
const rating = computed((): number => { const rating = computed((): number => {
console.log(props.ratings);
console.log(props);
const sum = props.ratings.reduce((a, b) => a + b, 0); const sum = props.ratings.reduce((a, b) => a + b, 0);
return sum / props.ratings.length; return sum / props.ratings.length;
}); });
@ -187,8 +185,6 @@ const gradientStyle = {
const ratingValueStyle = { const ratingValueStyle = {
backgroundColor, backgroundColor,
}; };
console.log(props);
</script> </script>
<style lang="postcss" scoped> <style lang="postcss" scoped>