undo double fix

This commit is contained in:
burnettk 2022-06-16 09:42:38 -04:00
parent 5f0bb5a342
commit a48de27264
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ export default function ProcessGroups() {
)
}, []);
if (processGroups.results) {
if (processGroups) {
return (
<main style={{ padding: "1rem 0" }}>
<ProcessBreadcrumb />
@ -39,7 +39,7 @@ export default function ProcessGroups() {
<br />
<br />
<ul>
{processGroups.results.map(processGroup => (
{processGroups.map(processGroup => (
<li key={processGroup.id}>
<Link to={`/process-groups/${processGroup.id}`}>{processGroup.id}</Link>
</li>