drfeely.com/website/components/ReplaceLink.tsx

11 lines
193 B
TypeScript

import Link from "next/link";
const NoReplaceLink = (props: any) => {
return (
<Link replace={true} {...props}>
{props.children}
</Link>
);
};
export default NoReplaceLink;