drfeely.com/website/components/ReplaceLink.tsx

12 lines
193 B
TypeScript
Raw Normal View History

2023-08-31 03:18:58 +00:00
import Link from "next/link";
const NoReplaceLink = (props: any) => {
return (
<Link replace={true} {...props}>
{props.children}
</Link>
);
};
export default NoReplaceLink;