Removed test data from code (#26)

This commit is contained in:
Ceferino Patino 2022-04-02 16:38:35 -05:00 committed by GitHub
commit 79ff74fff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 18 deletions

View file

@ -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);

View file

@ -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);