chore: bump revolt.js

fixes #528
This commit is contained in:
Paul Makles 2022-01-29 11:11:19 +00:00
parent 27f6420da2
commit b4642b1efe
3 changed files with 8 additions and 6 deletions

View file

@ -147,7 +147,7 @@
"react-virtualized-auto-sizer": "^1.0.5",
"react-virtuoso": "^1.10.4",
"revolt-api": "0.5.3-alpha.12",
"revolt.js": "5.2.7",
"revolt.js": "5.2.8",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"shade-blend-color": "^1.0.0",

View file

@ -218,7 +218,7 @@ export const ServerMemberSidebar = observer(
FETCHED.add(server_id);
channel
.server!.syncMembers(shouldSkipOffline(server_id))
.then(() => FETCHED.delete(server_id));
.catch(() => FETCHED.delete(server_id));
}
}, [status, channel]);
@ -228,6 +228,8 @@ export const ServerMemberSidebar = observer(
true,
);
console.log("rendering");
return (
<GenericSidebarBase data-scroll-offset="with-padding">
{/*<Container>

View file

@ -4303,10 +4303,10 @@ revolt-api@0.5.3-alpha.12:
resolved "https://registry.yarnpkg.com/revolt-api/-/revolt-api-0.5.3-alpha.12.tgz#78f25b567b840c1fd072595526592a422cb01f25"
integrity sha512-MM42oI5+5JJMnAs3JiOwSQOy/SUYzYs3M8YRC5QI4G6HU7CfyB2HNWh5jFsyRlcLdSi13dGazHm31FUPHsxOzw==
revolt.js@5.2.7:
version "5.2.7"
resolved "https://registry.yarnpkg.com/revolt.js/-/revolt.js-5.2.7.tgz#7b887329913494a2caf02c9828685d63551890db"
integrity sha512-KNoQqLrdd/B8zryu2fhWim9rO5OEkouhCZj4nU+upwrekz30DjxqWgZCup/apKXE8PSmrhSgWdKT8SHCBXOxFQ==
revolt.js@5.2.8:
version "5.2.8"
resolved "https://registry.yarnpkg.com/revolt.js/-/revolt.js-5.2.8.tgz#5c9b3b10d3ea488e74b3208a9309e2106fb8c2c2"
integrity sha512-J3n2Rwbqen9UTqfgl/N2RJx/9QaXhuZWdp/Pce0wrw9pP/xCTk87FlHHG0ZWuJvX4fltg9lbCHGMcUIT6UA2wA==
dependencies:
"@insertish/exponential-backoff" "3.1.0-patch.0"
"@insertish/isomorphic-ws" "^4.0.1"