"use client"; import { useAppSelector } from "@/redux/hooks"; import Link from "next/link"; import { FC } from "react"; interface Props { className?: string; once?: boolean; register?: string; visit?: string; details?: string; } export const EventPageButtons: FC = ({ once = false, register, visit, details, }) => { const lang = useAppSelector( (state) => state.headerSlice.activeLang.localization ); return (
{once ? ( <> ) : ( )}
); };