Skip to content

Commit 23a74af

Browse files
committed
maybe do that please
1 parent 96a77a1 commit 23a74af

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/lib/tw-project-meta-fetcher-hoc.jsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,11 @@ const TWProjectMetaFetcherHOC = function (WrappedComponent) {
122122
if (this.props.projectId !== projectId) {
123123
return;
124124
}
125-
// If this project is hidden or not approved, ignore the results.
126-
if (
127-
typeof remixProject.name === 'string'
128-
|| typeof remixProject.owner === 'string'
129-
) {
130-
this.props.onSetRemixedProjectInfo(
131-
true, // loaded
132-
remixProject.name,
133-
remixProject.owner
134-
);
135-
}
125+
this.props.onSetRemixedProjectInfo(
126+
true, // loaded
127+
remixProject.name,
128+
remixProject.owner
129+
);
136130
})
137131
.catch(err => {
138132
// this isnt fatal, just log

0 commit comments

Comments
 (0)