Skip to content

Commit

Permalink
fix(manageProject): hide user tab until its api integration (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored Jul 18, 2024
1 parent 553617f commit 7ac1cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/views/ManageProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useNavigate } from 'react-router-dom';
import { useAppSelector } from '@/types/reduxTypes';

const tabList = [
{ id: 'users', name: 'USERS', icon: <AssetModules.PersonIcon style={{ fontSize: '20px' }} /> },
// { id: 'users', name: 'USERS', icon: <AssetModules.PersonIcon style={{ fontSize: '20px' }} /> },
{ id: 'edit', name: 'EDIT', icon: <AssetModules.EditIcon style={{ fontSize: '20px' }} /> },
{ id: 'delete', name: 'DELETE', icon: <AssetModules.DeleteIcon style={{ fontSize: '20px' }} /> },
];
Expand All @@ -18,7 +18,7 @@ const ManageProject = () => {
const params = CoreModules.useParams();
const navigate = useNavigate();
const projectId = params.id;
const [tabView, setTabView] = useState<'users' | 'edit' | string>('users');
const [tabView, setTabView] = useState<'users' | 'edit' | string>('edit');
const editProjectDetails = useAppSelector((state) => state.createproject.editProjectDetails);

useEffect(() => {
Expand Down

0 comments on commit 7ac1cd9

Please sign in to comment.