message: Fix `deprioritize-marketplace-link` error in some instances
diff: +import select from 'select-dom';
  import oneMutation from 'one-mutation';
  +import elementReady from 'element-ready';
  export default async function onProfileDropdownLoad(): Promise<Element> {
  - const dropdown = document.querySelector('.Header-item:last-child .dropdown-menu')!;
  - await oneMutation(dropdown, {childList: true});
  - return dropdown;
  + const dropdown = await elementReady('.Header-item:last-child .dropdown-menu');
  + if (!dropdownContentExists()) {
  + await oneMutation(dropdown!, {childList: true, filter: dropdownContentExists});
  + }
  +
  + return dropdown!;
  +}
  +
  +function dropdownContentExists(): boolean {
  + return select.exists('.Header-item:last-child .dropdown-menu .dropdown-item');
  }
  