mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 01:12:16 +00:00
fix: mark deliberately unawaited promises with void (Sonar S9383)
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user