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