export function confirmWithAddress(message: string, addressLabel?: string): boolean {
  if (typeof window === "undefined") {
    return true;
  }

  const label = addressLabel?.trim();
  const suffix = label ? `\n\n${label}` : "";
  return window.confirm(`${message}${suffix}`);
}
