From: Dessalines Date: Thu, 26 May 2022 22:36:34 +0000 (-0400) Subject: Revert "Fix lint" X-Git-Url: http://these/git/%7B%60%24%7BarchiveTodayUrl%7D/%7B%60/feeds/inbox/%24%7BUserService.Instance.auth%7D.xml%60%7D?a=commitdiff_plain;h=4730fe618bda3a34419395dc0d155b5f93c60222;p=lemmy-ui.git Revert "Fix lint" This reverts commit 29bdd3bafdaac7e7b8574869450462819249641e. --- diff --git a/package.json b/package.json index 447a841..629aaaf 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "import-sort-style-module": "^6.0.0", - "lemmy-js-client": "0.17.0-rc.10", + "lemmy-js-client": "0.16.4-rc.2", "lint-staged": "^12.4.1", "mini-css-extract-plugin": "^2.6.0", "node-fetch": "^2.6.1", diff --git a/src/shared/components/community/community-form.tsx b/src/shared/components/community/community-form.tsx index d8a858d..0f12a25 100644 --- a/src/shared/components/community/community-form.tsx +++ b/src/shared/components/community/community-form.tsx @@ -364,7 +364,6 @@ export class CommunityForm extends Component< UserService.Instance.myUserInfo.follows.push({ community, follower: person, - pending: false, }); UserService.Instance.myUserInfo.moderates.push({ community, diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index b054b02..baa655f 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -506,7 +506,6 @@ export class Sidebar extends Component { UserService.Instance.myUserInfo.follows.push({ community: i.props.community_view.community, follower: UserService.Instance.myUserInfo.local_user_view.person, - pending: false, }); } diff --git a/yarn.lock b/yarn.lock index f423018..2e326f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4813,10 +4813,10 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -lemmy-js-client@0.17.0-rc.10: - version "0.17.0-rc.10" - resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.17.0-rc.10.tgz#fbec2ffd515a5bfc51d00f2123bac352d1ca161d" - integrity sha512-JNHoCn66uRlvMGA/G2X6rSAfnPyGc+5rTbHzsn9HC8bkfwLzAMnr2MmWOZUUVIjef433W6BRH3tHN/+clEudAw== +lemmy-js-client@0.16.4-rc.2: + version "0.16.4-rc.2" + resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.16.4-rc.2.tgz#849b054ff37668c242db0202070bdb35f357f069" + integrity sha512-7ftHxpecqhHddfTJJC02eMB6N0jrtUBZVjt6CGC74J06kplBrsBQVETBqm33G1h1/SPHRHU1mqQ+f03PwsL+Ng== levn@^0.4.1: version "0.4.1"