Skip to content

Commit

Permalink
make username nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettforkner committed Jan 18, 2024
1 parent 597a8b3 commit 32eb094
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/views/RecIM/components/Forms/InviteParticipantForm/index.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Grid } from '@mui/material';
import { useState, useEffect } from 'react';
import GordonDialogBox from 'components/GordonDialogBox';
import { ParticipantList } from './../../List';
import { addParticipantToTeam, createTeam, deleteTeamParticipant } from 'services/recim/team';
import GordonQuickSearch from 'components/Header/components/QuickSearch';
import GordonLoader from 'components/Loader';
import styles from './InviteParticipantForm.module.css';
import userService from 'services/user';
import { useUser } from 'hooks';
import GordonQuickSearch from 'components/Header/components/QuickSearch';
import { useEffect, useState } from 'react';
import { getAccountsBasicInfo } from 'services/recim/participant';
import { addParticipantToTeam, createTeam, deleteTeamParticipant } from 'services/recim/team';
import userService from 'services/user';
import { ParticipantList } from './../../List';
import styles from './InviteParticipantForm.module.css';

const InviteParticipantForm = ({
createSnackbar,
Expand Down Expand Up @@ -41,7 +41,7 @@ const InviteParticipantForm = ({
Username: person.UserName,
FirstName: person.FirstName,
LastName: person.LastName,
IsCustom: person.Username.split('.').at(-1) === 'custom',
IsCustom: person.Username?.split('.').at(-1) === 'custom',
},
]);
};
Expand Down

0 comments on commit 32eb094

Please sign in to comment.