"use client";
import { useState } from "react";
import PhoneChoiceModal from "@/components/ui/PhoneChoiceModal";
import type { Dictionary } from "@/lib/dictionaries";
interface FooterPhoneLinkProps {
number: string;
dict: Dictionary;
}
// Keeps the footer itself a server component — only the phone entry needs state.
export default function FooterPhoneLink({ number, dict }: FooterPhoneLinkProps) {
const [open, setOpen] = useState(false);
return (
<>
setOpen(false)}
/>
>
);
}