fix(spotlight): stabilize catalog search

This commit is contained in:
ajnart committed 2026-08-24 09:15:50 +02:00
1 parent 389a99a203
commit 7acff56abb
21 files changed
+359 -239

No files matched your search

@@ -48,6 +48,7 @@ export const BoardAppsSpotlightRegistrar = () => {
return [
{
id: app.id,
dedupeKey: `app:${app.id}`,
name: app.name,
icon: app.iconUrl,
interaction() {
@@ -57,12 +57,8 @@ export const LazySpotlight = () => {
return isMounted || isPreloaded ? (
<>
{isPreloaded && <span hidden data-homarr-dev-benchmark-spotlight-preloaded />}
{isMounted && (
<>
<span hidden data-homarr-dev-benchmark-spotlight-mounted />
<Spotlight />
</>
)}
{isMounted && <span hidden data-homarr-dev-benchmark-spotlight-mounted />}
<Spotlight />
</>
) : null;
};