From 904df64a8da1bb6c82079d2f284036f45d019e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CKenzo-Wada=E2=80=9D?= Date: Thu, 28 Mar 2024 00:28:01 +0900 Subject: [PATCH] [@mantine/core] feat: fix actions store of `Spotlight` --- packages/@mantine/spotlight/src/spotlight.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantine/spotlight/src/spotlight.store.ts b/packages/@mantine/spotlight/src/spotlight.store.ts index f594d6bae5f..788992a405d 100644 --- a/packages/@mantine/spotlight/src/spotlight.store.ts +++ b/packages/@mantine/spotlight/src/spotlight.store.ts @@ -33,7 +33,7 @@ export function updateSpotlightStateAction( } export function openSpotlightAction(store: SpotlightStore) { - updateSpotlightStateAction(() => ({ opened: true }), store); + updateSpotlightStateAction(() => ({ opened: true, selected: -1 }), store); } export function closeSpotlightAction(store: SpotlightStore) {