let pendingLogoutUrl: string | null = null;

export function setPendingLogoutNavigation(url: string): void {
  pendingLogoutUrl = url;
}

export function consumePendingLogoutNavigation(): string | null {
  const url = pendingLogoutUrl;
  pendingLogoutUrl = null;
  return url;
}
