Skip to content

Commit

Permalink
Issue #PS-000 feat: Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Aug 2, 2024
1 parent 93259ec commit 612b685
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/components/ManageUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ import { useEffect } from 'react';
import manageUserStore from '../store/manageUserStore';

import { getMyUserList } from '@/services/MyClassDetailsService';
import reassignLearnerStore from '@/store/reassignLearnerStore';
import Image from 'next/image';
import profileALT from '../assets/images/Profile.png';
import AddFacilitatorModal from './AddFacilitator';
import ReassignModal from './ReassignModal';
import DeleteUserModal from './DeleteUserModal';
import ReassignModal from './ReassignModal';
import SimpleModal from './SimpleModal';
import reassignLearnerStore from '@/store/reassignLearnerStore';

interface Cohort {
cohortId: string;
Expand Down Expand Up @@ -61,7 +61,7 @@ interface ManageUsersProps {
cohortData?: any;
}

const manageUsers: React.FC<ManageUsersProps> = ({
const ManageUser: React.FC<ManageUsersProps> = ({
reloadState,
setReloadState,
cohortData,
Expand Down Expand Up @@ -467,7 +467,6 @@ const manageUsers: React.FC<ManageUsersProps> = ({
const handleTeacherFullProfile = (userId: string) => {
router.push(`/user-profile/${userId}`);
};
const noop = () => {};

const handleRequestBlockAction = () => {
showToastMessage(t('BLOCKS.REASSIGN_BLOCK_REQUESTED'), 'success');
Expand Down Expand Up @@ -931,12 +930,5 @@ const manageUsers: React.FC<ManageUsersProps> = ({
</>
);
};
// export async function getStaticProps({ locale }: any) {
// return {
// props: {
// ...(await serverSideTranslations(locale, ['common'])),
// // Will be passed to the page component as props
// },
// };
// }
export default manageUsers;

export default ManageUser;

0 comments on commit 612b685

Please sign in to comment.