mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 15:05:51 +00:00
Run prettier
This commit is contained in:
parent
0f5c34da2b
commit
5daba498a5
|
@ -1 +1 @@
|
||||||
Subproject commit 15815aea74fe97360afc03496b3ad62588649af0
|
Subproject commit 5d45389ef4a12489e80b44af4443b29ca6161293
|
|
@ -128,10 +128,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
|
|
||||||
componentDidMount(): void {
|
componentDidMount(): void {
|
||||||
if (UserService.Instance.myUserInfo) {
|
if (UserService.Instance.myUserInfo) {
|
||||||
const { auto_expand, blur_nsfw } = UserService.Instance.myUserInfo.local_user_view.local_user;
|
const { auto_expand, blur_nsfw } =
|
||||||
|
UserService.Instance.myUserInfo.local_user_view.local_user;
|
||||||
this.setState({
|
this.setState({
|
||||||
imageExpanded:
|
imageExpanded: auto_expand && !(blur_nsfw && this.postView.post.nsfw),
|
||||||
auto_expand && !(blur_nsfw && this.postView.post.nsfw),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue