chore(docs): lint

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:29:53 +02:00
parent f4616af840
commit 4454867c36
9 changed files with 41 additions and 15 deletions
+8 -3
View File
@@ -75,13 +75,18 @@ const clicks = ref(0)
const disabled = ref(false)
const confettiColors = Object.values(colors).flatMap((color) => {
if (typeof color === 'string') return color
else return Object.values(color).flatMap((c) => c)
if (typeof color === 'string') {
return color
} else {
return Object.values(color).flatMap((c) => c)
}
})
onNodeClick(async ({ node }) => {
if (node.id === 'intro') {
if (disabled.value) return
if (disabled.value) {
return
}
animatedBackground.value = !animatedBackground.value