fix: update process.env to import.meta

This commit is contained in:
Dan Ditomaso
2025-03-02 15:23:57 -05:00
parent 88587f358d
commit 81a1e0e550
5 changed files with 66 additions and 65 deletions
+3 -4
View File
@@ -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 };