Skip to content

Commit

Permalink
i greatly dislike this code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ianyourgod committed Nov 29, 2024
1 parent 3bd3d32 commit 4b1797c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tw-project-meta-fetcher-hoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const TWProjectMetaFetcherHOC = function (WrappedComponent) {
const authorName = data.author.username;
const authorThumbnail = `https://projects.penguinmod.com/api/v1/users/getpfp?username=${data.author.username}`;
this.props.onSetAuthor(authorName, authorThumbnail);
const instructions = data.instructions || '';
const instructions = data.desc || '';
const credits = data.notes || '';
if (instructions || credits) {
this.props.onSetDescription(instructions, credits);
Expand Down

0 comments on commit 4b1797c

Please sign in to comment.