Properly name versioned search modal context.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user