fix: mark deliberately unawaited promises with void (Sonar S9383)

This commit is contained in:
Maurice
2026-10-01 14:19:52 +02:00
parent f9baf3395e
commit db4337287b
96 changed files with 160 additions and 160 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export function SlidingTabs<T extends string>({
// Re-measure once web fonts settle — on a reload the first measure runs against
// fallback-font metrics, so the (bold) active label reflows and the pill drifts.
let cancelled = false
document.fonts?.ready?.then(() => {
void document.fonts?.ready?.then(() => {
if (!cancelled) measure()
})