utils.tsx 266 B

12345678
  1. import {Location} from 'history';
  2. export function didProjectOrEnvironmentChange(location1: Location, location2: Location) {
  3. return (
  4. location1.query.environment !== location2.query.environment ||
  5. location1.query.project !== location2.query.project
  6. );
  7. }