Skip to content

Commit

Permalink
chore: render scores in donut tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Aug 16, 2024
1 parent 773612c commit 91717a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Donut.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const color = (d: number, i: number) => `rgb(var(--nq-${colors[i % colors.length
function template(v: Validator) {
const div = document.createElement('div')
// render(h(ScorePies, { validator: v, class: 'text-14' }), div)
render(h(ScorePies, { validator: v, class: 'text-14' }), div)
const address = `${v.address.slice(0, 10)} ... ${v.address.slice(-10)}`
return `
<div flex="~ col gap-8" bg-neutral-0 p-16 rounded-6 nq-shadow>
Expand Down

0 comments on commit 91717a2

Please sign in to comment.