You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
621 B
19 lines
621 B
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
import { useSelector } from 'react-redux';
|
|
import { MainLayout } from '../layouts/Customer';
|
|
import { Login } from '../components/admin/pages/login/Login';
|
|
import { CardStock, SkeletonStock, BoxScroll } from '../components';
|
|
import { useAppDispatch } from '../redux/store';
|
|
import { selectTokenData } from '../redux/login/selectors';
|
|
|
|
const Admin: NextPage = () => {
|
|
const dispatch = useAppDispatch();
|
|
const { token, status_token } = useSelector(selectTokenData);
|
|
console.log(token, 'admin');
|
|
return (
|
|
<Login/>
|
|
)
|
|
}
|
|
|
|
export default Admin;
|
|
|