Removed test data from code (#26)
This commit is contained in:
parent
65b8a742a6
commit
79ff74fff0
2 changed files with 2 additions and 18 deletions
|
|
@ -45,16 +45,7 @@ function OrgDashboard() {
|
|||
createdAt: '',
|
||||
memberCount: 0,
|
||||
});
|
||||
const [rows, setRows] = useState([
|
||||
{
|
||||
id: 'asdf',
|
||||
firstName: 'asdf',
|
||||
lastName: 'asdf',
|
||||
nickname: 'asdf',
|
||||
pronouns: 'asdf',
|
||||
email: 'asdf',
|
||||
},
|
||||
]);
|
||||
const [rows, setRows] = useState([]);
|
||||
const [status, setStatus] = useState(true);
|
||||
const [selection, setSelection] = useState(null);
|
||||
const [open, setOpen] = useState(false);
|
||||
|
|
|
|||
|
|
@ -8,14 +8,7 @@ import OrgUnit from './OrgUnit';
|
|||
function Organizations({ retrieveOrgs }) {
|
||||
const theme = useTheme();
|
||||
|
||||
const [orgs, setOrgs] = useState([
|
||||
{
|
||||
orgID: 12341234,
|
||||
orgName: 'Org',
|
||||
memberCount: 15,
|
||||
createdAt: 15,
|
||||
},
|
||||
]);
|
||||
const [orgs, setOrgs] = useState([]);
|
||||
|
||||
useEffect(() => {
|
||||
retrieveOrgs(setOrgs);
|
||||
|
|
|
|||
Reference in a new issue