File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cpt-ui/src/context Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface NavigationContextType {
2626 searchType : "prescriptionId" | "nhsNumber" | "basicDetails" ,
2727 searchParams : Record < string , string | undefined > ,
2828 ) => void ;
29- getOriginalSearchParameters : ( ) => Record < string , string > | null ;
29+ getOriginalSearchParameters : ( ) => Record < string , string | undefined > | null ;
3030 getRelevantSearchParameters : (
3131 searchType : "prescriptionId" | "nhsNumber" | "basicDetails" ,
3232 ) => Record < string , string > ;
@@ -178,7 +178,7 @@ export const NavigationProvider: React.FC<NavigationProviderProps> = ({
178178 }
179179
180180 const keys = relevantKeys [ searchType ] || [ ]
181- const relevantParams : Record < string , string > = { }
181+ const relevantParams : Record < string , string | undefined > = { }
182182
183183 keys . forEach ( ( key ) => {
184184 if ( originalSearchParameters . params [ key ] !== undefined ) {
You can’t perform that action at this time.
0 commit comments