diff --git a/packages/@mantine/spotlight/src/limit-actions.ts b/packages/@mantine/spotlight/src/limit-actions.ts index 3b0b7ccbc5b..c4ed1e09f14 100644 --- a/packages/@mantine/spotlight/src/limit-actions.ts +++ b/packages/@mantine/spotlight/src/limit-actions.ts @@ -21,7 +21,7 @@ export function limitActions(actions: SpotlightActions[], limit: number) { count += groupActions.length; } else { acc.push(item); - count++; + count += 1; } return acc;