Skip to content

Commit

Permalink
Merge pull request #455 from memser-spaceport/fix/settings-team
Browse files Browse the repository at this point in the history
Fix: Typography change
  • Loading branch information
Thangaraj-Ideas2it authored Dec 20, 2024
2 parents d605c99 + 110f87c commit ac67d0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/page/settings/manage-teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ function ManageTeamsSettings(props: any) {
const userInfo = props?.userInfo ?? {};

//variables
const steps = [{ name: 'basic' }, { name: 'project details' }, { name: 'social' }];
const steps = [{ name: 'basic' }, { name: 'team details' }, { name: 'social' }];
const [activeTab, setActiveTab] = useState({ name: 'basic' });
const router = useRouter();
const formRef = useRef<HTMLFormElement | null>(null);
const [allData, setAllData] = useState({ technologies: [], fundingStage: [], membershipSources: [], industryTags: [], focusAreas: [], isError: false });
const [errors, setErrors] = useState({ basicErrors: [], socialErrors: [], projectErrors: [] });
const tabsWithError = {
basic: errors.basicErrors.length > 0,
'project details': errors.projectErrors.length > 0,
'team details': errors.projectErrors.length > 0,
social: errors.socialErrors.length > 0,
};
const errorDialogRef = useRef<HTMLDialogElement>(null);
Expand Down Expand Up @@ -340,7 +340,7 @@ function ManageTeamsSettings(props: any) {
<div className={`${activeTab.name !== 'basic' ? 'hidden' : ''}`}>
<TeamBasicInfo isEdit={true} errors={errors.basicErrors} initialValues={initialValues.basicInfo} longDesc={content} setLongDesc={setContent}/>
</div>
<div className={`${activeTab.name !== 'project details' ? 'hidden' : ''}`}>
<div className={`${activeTab.name !== 'team details' ? 'hidden' : ''}`}>
<TeamProjectsInfo
errors={errors.projectErrors}
protocolOptions={allData?.technologies}
Expand Down

0 comments on commit ac67d0c

Please sign in to comment.