Skip to content

Commit

Permalink
#2710: fixed linting checks and added back teamType
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwendle committed Sep 19, 2024
1 parent 1997d3b commit 75d358c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/frontend/src/pages/AcceptedPage/AcceptedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import LoadingIndicator from '../../components/LoadingIndicator';
import ErrorPage from '../ErrorPage';
import { useSingleUserSettings } from '../../hooks/users.hooks';
import { NERButton } from '../../components/NERButton';
import { fontSize } from '@mui/system';

interface AcceptedPageProps {
user: AuthenticatedUser;
// team: TeamType;
team: TeamType;
}

const AcceptedPage = ({ user }: AcceptedPageProps) => {
const AcceptedPage = ({ user, team }: AcceptedPageProps) => {
const { isLoading, isError, error, data: userSettingsData } = useSingleUserSettings(user.userId);

if (isLoading || !userSettingsData) return <LoadingIndicator />;
Expand Down Expand Up @@ -50,7 +49,7 @@ const AcceptedPage = ({ user }: AcceptedPageProps) => {
marginLeft="auto"
sx={{ marginTop: 2, textAlign: 'center', pt: 3, padding: 0, fontFamily: 'oswald', fontWeight: 1, fontSize: 25 }}
>
Before you get started on the subteam, all new members will have to complete general and subteam-specific
Before you get started on the {team.name}, all new members will have to complete general and subteam-specific
onboarding. Please accept this offer within 5 days to start onboarding.
</Typography>
<Typography
Expand Down

0 comments on commit 75d358c

Please sign in to comment.