Skip to content

Commit

Permalink
style: format code with prettier (#846)
Browse files Browse the repository at this point in the history
Format code with prettier

This commit fixes the style issues introduced in 9816eaf according to the output
from Prettier.

Details: https://app.deepsource.com/gh/narayan954/dummygram/transform/3042389b-e134-4eb2-a8a9-c0a9524303ee/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] committed Jul 16, 2023
1 parent 9816eaf commit 1c02b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/postView/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const PostCommentView = ({

const [comments, setComments] = React.useState(null);
const [likesNo, setLikesNo] = React.useState(
likecount ? likecount.length : 0
likecount ? likecount.length : 0,
);
const tempLikeCount = likecount ? [...likecount] : [];
const [showEmojis, setShowEmojis] = React.useState(false);
Expand Down Expand Up @@ -115,7 +115,7 @@ const PostCommentView = ({
snapshot.docs.map((doc) => ({
id: doc.id,
content: doc.data(),
}))
})),
);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/PostView/PostViewStyled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const PostGridItem = styled("div")(
justifyContent: "center",
height: "fit-content",
}),
})
}),
);
export const PostHeader = styled(CardHeader)(({ theme }) => ({
"& .MuiCardHeader-title": {
Expand Down

0 comments on commit 1c02b4e

Please sign in to comment.