mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 05:29:51 +00:00
improve clone node
This commit is contained in:
parent
0bbd54b297
commit
0a85e8ddb7
@ -2,6 +2,7 @@ import { Card } from "antd";
|
||||
import { type SharedNodeProps } from "./_SharedNode";
|
||||
import AddNode from "./AddNode";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { memo } from "react";
|
||||
|
||||
export type UploadNodeProps = SharedNodeProps;
|
||||
const CloneNode = ({ node, disabled }: SharedNodeProps) => {
|
||||
@ -16,4 +17,4 @@ const CloneNode = ({ node, disabled }: SharedNodeProps) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default CloneNode;
|
||||
export default memo(CloneNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user