dont-hesitate
This commit is contained in:
parent
94c5e5d51d
commit
54ef10307e
|
@ -28,7 +28,7 @@ export const RatingControl = (props: RatingControlProps) => {
|
|||
const [isLoading, setIsLoading] = createSignal(false)
|
||||
const [ratings, setRatings] = createSignal<Reaction[]>([])
|
||||
const [myRate, setMyRate] = createSignal<Reaction | undefined>()
|
||||
const [total, setTotal] = createSignal(0)
|
||||
const [total, setTotal] = createSignal(props.comment?.stat?.rating || props.shout?.stat?.rating || 0)
|
||||
|
||||
createEffect(
|
||||
on(
|
||||
|
|
Loading…
Reference in New Issue
Block a user