import { Grid, TextField, Typography } from '@mui/material'; 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 { 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;