import { useIntl } from "react-intl"; import { Link } from "react-router"; interface IWidget { target?: React.HTMLAttributeAnchorTarget; } const LoginButton = ({ target }: IWidget) => { const intl = useIntl(); const url = btoa(window.location.href); return ( {intl.formatMessage({ id: "nut.users.sign-in-up.title", })} ); }; export default LoginButton;