]> Untitled Git - lemmy-ui.git/commitdiff
Fix lint
authorDessalines <tyhou13@gmx.com>
Tue, 24 May 2022 16:36:02 +0000 (12:36 -0400)
committerDessalines <tyhou13@gmx.com>
Tue, 24 May 2022 16:36:02 +0000 (12:36 -0400)
package.json
src/shared/components/community/community-form.tsx
src/shared/components/community/sidebar.tsx
yarn.lock

index 6b0090c18cc4fdc6e695af2b07127c27cf5dbc3a..e14f15d7c51053b4951a66c28ecf559bbb7f81cf 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.16.4-rc.2",
+    "lemmy-js-client": "0.17.0-rc.10",
     "lint-staged": "^12.4.1",
     "mini-css-extract-plugin": "^2.6.0",
     "node-fetch": "^2.6.1",
index 0f12a252dccc12d1a23aca7616899ae38ee79e5e..d8a858df0017a79266bd3103cb8871497d62bb0d 100644 (file)
@@ -364,6 +364,7 @@ export class CommunityForm extends Component<
       UserService.Instance.myUserInfo.follows.push({
         community,
         follower: person,
+        pending: false,
       });
       UserService.Instance.myUserInfo.moderates.push({
         community,
index baa655fb8f8234fc030d90667db4003f0a0cdf94..b054b029e33d7bdb5855ee1b42f49f576456d304 100644 (file)
@@ -506,6 +506,7 @@ 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 2e326f1ec854b24a41baf6b0c6e91e57df6f87ac..f4230184b1332abf752055ad7fd6e4ea3fd19b33 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.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==
+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==
 
 levn@^0.4.1:
   version "0.4.1"