新增用户意图确认功能

This commit is contained in:
likun committed 2026-05-13 14:36:44 +08:00
1 parent cf2e4bdd9c
commit b8926f00d7
574 files changed
+97664 -97208

No files matched your search

+16 -16
View File
@@ -1,16 +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;
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;