"use client";

import { Navigation } from "./navigation";
import { useUser } from "@/hooks/use-user-context";

export function NavigationWrapper() {
  const { userInfo } = useUser();

  return <Navigation userInfo={userInfo || undefined} />;
}
