Remove console.logs
This commit is contained in:
parent
0444658ce3
commit
3ae215296b
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue