Revert "Fix lint"

This reverts commit 29bdd3bafd.
This commit is contained in:
Dessalines 2022-05-26 18:36:34 -04:00
parent 36297366fa
commit 4730fe618b
4 changed files with 5 additions and 7 deletions

View file

@ -74,7 +74,7 @@
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4", "husky": "^7.0.4",
"import-sort-style-module": "^6.0.0", "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", "lint-staged": "^12.4.1",
"mini-css-extract-plugin": "^2.6.0", "mini-css-extract-plugin": "^2.6.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",

View file

@ -364,7 +364,6 @@ export class CommunityForm extends Component<
UserService.Instance.myUserInfo.follows.push({ UserService.Instance.myUserInfo.follows.push({
community, community,
follower: person, follower: person,
pending: false,
}); });
UserService.Instance.myUserInfo.moderates.push({ UserService.Instance.myUserInfo.moderates.push({
community, community,

View file

@ -506,7 +506,6 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
UserService.Instance.myUserInfo.follows.push({ UserService.Instance.myUserInfo.follows.push({
community: i.props.community_view.community, community: i.props.community_view.community,
follower: UserService.Instance.myUserInfo.local_user_view.person, follower: UserService.Instance.myUserInfo.local_user_view.person,
pending: false,
}); });
} }

View file

@ -4813,10 +4813,10 @@ lcid@^1.0.0:
dependencies: dependencies:
invert-kv "^1.0.0" invert-kv "^1.0.0"
lemmy-js-client@0.17.0-rc.10: lemmy-js-client@0.16.4-rc.2:
version "0.17.0-rc.10" version "0.16.4-rc.2"
resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.17.0-rc.10.tgz#fbec2ffd515a5bfc51d00f2123bac352d1ca161d" resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.16.4-rc.2.tgz#849b054ff37668c242db0202070bdb35f357f069"
integrity sha512-JNHoCn66uRlvMGA/G2X6rSAfnPyGc+5rTbHzsn9HC8bkfwLzAMnr2MmWOZUUVIjef433W6BRH3tHN/+clEudAw== integrity sha512-7ftHxpecqhHddfTJJC02eMB6N0jrtUBZVjt6CGC74J06kplBrsBQVETBqm33G1h1/SPHRHU1mqQ+f03PwsL+Ng==
levn@^0.4.1: levn@^0.4.1:
version "0.4.1" version "0.4.1"