Initial commit: deerflow-server (frontend-web + offline-backend-20260512)
This commit is contained in:
commit
e7a455f22e
560 files changed
+101331
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import * as React from "react";
|
||||
import { Link as RouterLink, type LinkProps as RouterLinkProps } from "react-router-dom";
|
||||
|
||||
type LinkProps = Omit<RouterLinkProps, "to"> & {
|
||||
href: RouterLinkProps["to"];
|
||||
};
|
||||
|
||||
const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
|
||||
({ href, ...props }, ref) => {
|
||||
return <RouterLink ref={ref} to={href} {...props} />;
|
||||
},
|
||||
);
|
||||
|
||||
Link.displayName = "NextLinkShim";
|
||||
|
||||
export default Link;
|
||||
Reference in new issue
Block a user