新增用户意图确认功能
This commit is contained in:
1 parent
cf2e4bdd9c
commit
b8926f00d7
574 files changed
+97664
-97208
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user