This commit is contained in:
Olu Amey
2022-12-11 19:27:27 -05:00
parent 243c044269
commit 10aacf0509
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
PUBLIC_URL=http://localhost:3000/
PORT=3000
PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api
REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150'
REACT_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api
REACT_APP_VERSION=v8.1.5
+1 -1
View File
@@ -1,7 +1,7 @@
/* eslint-disable jsx-a11y/anchor-is-valid */
import {useEffect} from 'react'
import {Outlet, Link} from 'react-router-dom'
import {toAbsoluteUrl} from '../../../_metronic/helpers'
import {toAbsoluteUrl} from '../../../_res/helpers'
const AuthLayout = () => {
useEffect(() => {
+2 -2
View File
@@ -8,11 +8,11 @@ import {
Dispatch,
SetStateAction,
} from 'react'
import {LayoutSplashScreen} from '../../../../_metronic/layout/core'
import {LayoutSplashScreen} from '../../../../_res/layout/core'
import {AuthModel, UserModel} from './_models'
import * as authHelper from './AuthHelpers'
import {getUserByToken} from './_requests'
import {WithChildren} from '../../../../_metronic/helpers'
import {WithChildren} from '../../../../_res/helpers'
type AuthContextProps = {
auth: AuthModel | undefined