Skip to content

Commit

Permalink
Fix red flash (#371)
Browse files Browse the repository at this point in the history
* fix red flashes, init to [] rather than {} and hide open roles

* fix formatting

* default empty array
  • Loading branch information
elliotBraem authored Jun 11, 2024
1 parent 1b5ef70 commit 835abf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/new/widget/lib/projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const fetchProjects = (props) => {
const data = fetchThings(props, app, type);

if (!data) {
return "Loading...";
return [];
}

return processData(data, type);
Expand Down

0 comments on commit 835abf6

Please sign in to comment.