fix: update process.env to import.meta
This commit is contained in:
@@ -33,7 +33,7 @@ export interface GeneratorProps extends React.BaseHTMLAttributes<HTMLElement> {
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
|
||||
const Generator =
|
||||
(
|
||||
{
|
||||
type,
|
||||
@@ -53,7 +53,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
|
||||
action,
|
||||
disabled,
|
||||
...props
|
||||
},
|
||||
}: GeneratorProps
|
||||
) => {
|
||||
const inputRef = React.useRef<HTMLInputElement>(null);
|
||||
|
||||
@@ -115,8 +115,7 @@ const Generator = React.forwardRef<HTMLInputElement, GeneratorProps>(
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
Generator.displayName = "Button";
|
||||
|
||||
export { Generator };
|
||||
|
||||
Reference in New Issue
Block a user