export function connectionStatusKey({ connectivityState, appError, usageError }) {
  if (connectivityState === "offline") return "connection.deviceOffline";
  if (connectivityState === "recovering") return "connection.recovering";
  if (appError === "pc_unreachable") return "connection.pcUnreachable";
  if (usageError === "account_login_required") return "connection.codexLoginRequired";
  return "";
}
