Properly name versioned search modal context.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-06-03 13:35:13 +02:00
parent 0a4b1f0379
commit 5388e6bdc5
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search': patch
---
Fixed a bug that could cause analytics events in other parts of Backstage to capture nonsensical values resembling search modal state under some circumstances.
@@ -37,7 +37,7 @@ export type SearchModalValue = {
const SearchModalContext = createVersionedContext<{
1: SearchModalValue | undefined;
}>('analytics-context');
}>('search-modal-context');
/**
* Props for the SearchModalProvider.