param name param value export const pushQSPUrl = ( { name , value } ) : void => { const url = new URL ( window . location . href ) ; if ( ! url . searchParams . has ( name ) ) { url . searchParams . append ( name , value ) ; window . history . pushState ( { } , document . title , url ) ; } } ;