We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
at
1 parent 1536ad1 commit 467ceedCopy full SHA for 467ceed
packages/client/composables/useClicks.ts
@@ -15,6 +15,10 @@ export function normalizeSingleAtValue(at: RawSingleAtValue): NormalizedSingleCl
15
console.error(`Invalid "at" prop value: ${at}`)
16
return null
17
}
18
+ if (v <= 0) {
19
+ console.warn(`[Slidev] "at" prop value must be greater than 0, but got ${at}, has been set to 1`)
20
+ return 1
21
+ }
22
return v
23
24
0 commit comments