message: Whoops didn't mean to use a hook
diff: import { currentAccountSelector } from 'app/accounts/selectors';
  import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions';
  import { t } from 'app/i18next-t';
  -import { d2ManifestSelector, useD2Definitions } from 'app/manifest/selectors';
  +import { d2ManifestSelector } from 'app/manifest/selectors';
  import { ThunkResult } from 'app/store/types';
  import { DimError } from 'app/utils/dim-error';
  import { errorLog } from 'app/utils/log';
  @@ -108,7 +108,7 @@ export function insertPlug(item: DimItem, socket: DimSocket, plugItemHash: numbe
  // Update items that changed
  await dispatch(refreshItemAfterAWA(response.Response));
  } catch (e) {
  - const defs = useD2Definitions()!;
  + const defs = d2ManifestSelector(getState())!;
  const plugName =
  defs.InventoryItem.get(plugItemHash)?.displayProperties.name ?? 'Unknown Plug';
  errorLog('AWA', "Couldn't insert", plugName, 'into', item.name, e);
  