Fix TypeScript typecheck errors
This commit is contained in:
@@ -10,6 +10,7 @@ import { ADMIN_LOGIN_PATH } from '../constants';
|
||||
import { MobileCard } from './components/Primitives';
|
||||
import { MobileField, MobileInput } from './components/FormControls';
|
||||
import { ADMIN_GRADIENTS, useAdminTheme } from './theme';
|
||||
import { useDocumentTitle } from './hooks/useDocumentTitle';
|
||||
|
||||
type ResetResponse = {
|
||||
status: string;
|
||||
@@ -51,6 +52,8 @@ export default function ForgotPasswordPage() {
|
||||
paddingBottom: 'calc(env(safe-area-inset-bottom, 0px) + 16px)',
|
||||
};
|
||||
|
||||
useDocumentTitle(t('login.forgot.title', 'Forgot your password?'));
|
||||
|
||||
const mutation = useMutation({
|
||||
mutationKey: ['tenantAdminForgotPassword'],
|
||||
mutationFn: requestPasswordReset,
|
||||
|
||||
Reference in New Issue
Block a user