mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 07:33:07 +01:00
Converted to Vite since create-react-app is no longer being developed
This commit is contained in:
115 files changed
+2511
-10015
No files matched your search
@@ -14,11 +14,12 @@ import {
|
||||
Stack,
|
||||
useToast,
|
||||
} from "@chakra-ui/react";
|
||||
import { setAuth } from "api/npm";
|
||||
import { PrettyButton } from "components";
|
||||
import { Formik, Form, Field } from "formik";
|
||||
import { intl } from "locale";
|
||||
import { validateString } from "modules/Validations";
|
||||
|
||||
import { setAuth } from "src/api/npm";
|
||||
import { PrettyButton } from "src/components";
|
||||
import { intl } from "src/locale";
|
||||
import { validateString } from "src/modules/Validations";
|
||||
|
||||
interface SetPasswordModalProps {
|
||||
userId: number;
|
||||
@@ -75,7 +76,7 @@ function SetPasswordModal({ userId, isOpen, onClose }: SetPasswordModalProps) {
|
||||
}
|
||||
return errors;
|
||||
}}>
|
||||
{({ isSubmitting, values }: any) => (
|
||||
{({ isSubmitting }: any) => (
|
||||
<Form>
|
||||
<ModalHeader>
|
||||
{intl.formatMessage({ id: "set-password" })}
|
||||
|
||||
Reference in new issue
Block a user