upgade package
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useEffect } from "react";
|
||||
import { Outlet, Link } from "react-router-dom";
|
||||
import { toAbsoluteUrl } from "../../../_metronic/helpers";
|
||||
import { toAbsoluteUrl } from "../../../_digifi/helpers";
|
||||
|
||||
const AuthLayout = () => {
|
||||
useEffect(() => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
||||
import { Link } from "react-router-dom";
|
||||
import { useFormik } from "formik";
|
||||
import { getUserByToken, login } from "../core/_requests";
|
||||
import { toAbsoluteUrl } from "../../../../_metronic/helpers";
|
||||
import { toAbsoluteUrl } from "../../../../_digifi/helpers";
|
||||
import { useAuth } from "../core/Auth";
|
||||
|
||||
const loginSchema = Yup.object().shape({
|
||||
|
||||
@@ -6,8 +6,8 @@ import * as Yup from 'yup'
|
||||
import clsx from 'clsx'
|
||||
import {getUserByToken, register} from '../core/_requests'
|
||||
import {Link} from 'react-router-dom'
|
||||
import {toAbsoluteUrl} from '../../../../_metronic/helpers'
|
||||
import {PasswordMeterComponent} from '../../../../_metronic/assets/ts/components'
|
||||
import {toAbsoluteUrl} from '../../../../_digifi/helpers'
|
||||
import {PasswordMeterComponent} from '../../../../_digifi/assets/ts/components'
|
||||
import {useAuth} from '../core/Auth'
|
||||
|
||||
const initialValues = {
|
||||
|
||||
@@ -8,11 +8,11 @@ import {
|
||||
Dispatch,
|
||||
SetStateAction,
|
||||
} from "react";
|
||||
import { LayoutSplashScreen } from "../../../../_metronic/layout/core";
|
||||
import { LayoutSplashScreen } from "../../../../_digifi/layout/core";
|
||||
import { AuthModel, UserModel } from "./_models";
|
||||
import * as authHelper from "./AuthHelpers";
|
||||
import { getUserByToken } from "./_requests";
|
||||
import { WithChildren } from "../../../../_metronic/helpers";
|
||||
import { WithChildren } from "../../../../_digifi/helpers";
|
||||
|
||||
type AuthContextProps = {
|
||||
auth: AuthModel | undefined;
|
||||
|
||||
Reference in New Issue
Block a user