]> Untitled Git - lemmy-ui.git/commitdiff
Revert "Fix lint"
authorDessalines <tyhou13@gmx.com>
Thu, 26 May 2022 22:36:34 +0000 (18:36 -0400)
committerDessalines <tyhou13@gmx.com>
Thu, 26 May 2022 22:36:34 +0000 (18:36 -0400)
This reverts commit 29bdd3bafdaac7e7b8574869450462819249641e.

package.json
src/shared/components/community/community-form.tsx
src/shared/components/community/sidebar.tsx
yarn.lock

index 447a84100cd723d2bf44f8d39827ddf7bd9acb83..629aaaf05f5d133f1eee23de8d3ec405202c8e23 100644 (file)
@@ -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",
index d8a858df0017a79266bd3103cb8871497d62bb0d..0f12a252dccc12d1a23aca7616899ae38ee79e5e 100644 (file)
@@ -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,
index b054b029e33d7bdb5855ee1b42f49f576456d304..baa655fb8f8234fc030d90667db4003f0a0cdf94 100644 (file)
@@ -506,7 +506,6 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
     UserService.Instance.myUserInfo.follows.push({
       community: i.props.community_view.community,
       follower: UserService.Instance.myUserInfo.local_user_view.person,
-      pending: false,
     });
   }
 
index f4230184b1332abf752055ad7fd6e4ea3fd19b33..2e326f1ec854b24a41baf6b0c6e91e57df6f87ac 100644 (file)
--- 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"