mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 00:51:15 +10:00
feat: update user translation
This commit is contained in:
@ -9,9 +9,7 @@ import { notifications } from "@mantine/notifications";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function ChangePassword() {
|
||||
const { t } = useTranslation("settings", {
|
||||
keyPrefix: "account",
|
||||
});
|
||||
const { t } = useTranslation("user");
|
||||
const [opened, { open, close }] = useDisclosure(false);
|
||||
|
||||
return (
|
||||
@ -55,9 +53,7 @@ interface ChangePasswordFormProps {
|
||||
onClose?: () => void;
|
||||
}
|
||||
function ChangePasswordForm({ onClose }: ChangePasswordFormProps) {
|
||||
const { t } = useTranslation("settings", {
|
||||
keyPrefix: "account",
|
||||
});
|
||||
const { t } = useTranslation("user");
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
|
||||
const form = useForm<FormValues>({
|
||||
|
||||
Reference in New Issue
Block a user