mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Running cargo update.
This commit is contained in:
parent
ac280782b2
commit
5396cb2f5c
1070
server/Cargo.lock
generated
vendored
1070
server/Cargo.lock
generated
vendored
File diff suppressed because it is too large
Load Diff
3
ui/src/components/main.tsx
vendored
3
ui/src/components/main.tsx
vendored
@ -51,7 +51,6 @@ import {
|
||||
createPostLikeFindRes,
|
||||
editPostFindRes,
|
||||
commentsToFlatNodes,
|
||||
commentSortSortType,
|
||||
setupTippy,
|
||||
} from '../utils';
|
||||
import { i18n } from '../i18next';
|
||||
@ -649,9 +648,9 @@ export class Main extends Component<any, MainState> {
|
||||
UserService.Instance.user.show_nsfw)
|
||||
) {
|
||||
this.state.posts.unshift(data.post);
|
||||
this.setState(this.state);
|
||||
}
|
||||
}
|
||||
this.setState(this.state);
|
||||
} else if (res.op == UserOperation.EditPost) {
|
||||
let data = res.data as PostResponse;
|
||||
editPostFindRes(data, this.state.posts);
|
||||
|
Loading…
Reference in New Issue
Block a user