ghostArchiveUrl,
isImage,
myAuth,
- myFirstDiscussionLanguageId,
pictrsDeleteToast,
relTags,
setupTippy,
}
render() {
- let firstLang =
- this.state.form.language_id ??
- myFirstDiscussionLanguageId(
- this.props.allLanguages,
- this.props.siteLanguages,
- UserService.Instance.myUserInfo
- );
+ let firstLang = this.state.form.language_id;
let selectedLangs = firstLang ? Array.of(firstLang) : undefined;
let url = this.state.form.url;
type_: "Url",
sort: "TopAll",
listing_type: "All",
- page: 1n,
+ page: 1,
limit: trendingFetchLimit,
auth: myAuth(false),
};
sort: "TopAll",
listing_type: "All",
community_id: this.state.form.community_id,
- page: 1n,
+ page: 1,
limit: trendingFetchLimit,
auth: myAuth(false),
};