Merge pull request #11846 from backstage/search/fix-modal-context

[Search] Properly name versioned search modal context
This commit is contained in:
Eric Peterson
2022-06-03 13:56:28 +02:00
committed by GitHub
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.