TP-51166 | fixed build fail
This commit is contained in:
@@ -8,7 +8,6 @@ import { AppDispatch, RootState } from '@src/store';
|
||||
import { ApiService } from '@src/services/api';
|
||||
import {
|
||||
TeamState,
|
||||
fetchDefaultTeamDetails,
|
||||
fetchTeamDetails,
|
||||
fetchTeams,
|
||||
selectSearchTeamData,
|
||||
@@ -27,7 +26,6 @@ import styles from './CreateTeam.module.scss';
|
||||
import { SelectPickerOptionProps } from '@navi/web-ui/lib/components/SelectPicker/types';
|
||||
|
||||
interface CreateTeamProps {
|
||||
// setTeam: () => void;
|
||||
setTeam: React.Dispatch<
|
||||
React.SetStateAction<SelectPickerOptionProps | undefined>
|
||||
>;
|
||||
@@ -117,19 +115,7 @@ const CreateTeam: React.FC<CreateTeamProps> = ({ setTeam }) => {
|
||||
setTeamName('');
|
||||
setEmail('');
|
||||
};
|
||||
// const scrolltoteam = (id: string): void => {
|
||||
// const element = document.getElementById(id);
|
||||
// if (element) {
|
||||
// setTimeout(() => {
|
||||
// element.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
// }, 0);
|
||||
// }
|
||||
// };
|
||||
// useEffect(() => {
|
||||
// if (createdTeam) {
|
||||
// scrolltoteam(createdTeam);
|
||||
// }
|
||||
// }, [createdTeam]);
|
||||
|
||||
return (
|
||||
<div className={styles['team-wrapper']}>
|
||||
{modalOpen && (
|
||||
|
||||
Reference in New Issue
Block a user