import { Grid, TextField, Typography, useMediaQuery } from '@mui/material';
import { useTheme } from '@mui/material/styles';
import { useQuery } from '@tanstack/react-query';
import CircularLoader from 'components/CircularLoader';
import Loader from 'components/Loader';
import MainCard from 'components/MainCard';
import { getusers } from 'pages/api/api';
const ViewProfile = () => {
const theme = useTheme();
const isMobile = useMediaQuery(theme.breakpoints.down('md'));
const {
data: userData,
isLoading
} = useQuery({
queryKey: ['getuser'],
queryFn: getusers
});
return (
<>
{isLoading && (
<>
>
)}
User Profile
}
>
{/* ==============================|| userid ||============================== */}
{/* ==============================|| Name ||============================== */}
{/* ==============================|| Location ||============================== */}
{/* ==============================|| Authname ||============================== */}
{/* ==============================|| contactno ||============================== */}
{/* ==============================|| email ||============================== */}
{/* ==============================|| address ||============================== */}
{/* ==============================|| Location ||============================== */}
{/* ==============================|| city ||============================== */}
{/* ==============================|| state ||============================== */}
{/* ==============================|| Postcode ||============================== */}
>
);
};
export default ViewProfile;