"use client";
import React from "react";
import { useAutoWorkflowCheck } from "@/hooks/useWorkflowStatusCheck";

interface HeaderProps {
  children: React.ReactNode;
}

export default function Header({ children }: HeaderProps) {
  // Auto-check workflow status when header mounts
  useAutoWorkflowCheck();

  return (
    <header className="bg-white shadow-sm border-b">
      {children}
    </header>
  );
}
