You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
It seems the return value of createForum is a Promise<ForumAPI> that should be awaited. Without adding the await, componentWillUnmount runs into an error because this.forum has the wrong type.
While we're at it, since this.forum might not exist yet when the component is being unmounted, perhaps the componentWillUnmount implementation should be this.forum?.destroy();.
It seems the return value of
createForumis aPromise<ForumAPI>that should be awaited. Without adding the await,componentWillUnmountruns into an error becausethis.forumhas the wrong type.integration-examples/React/PeerBoard.jsx
Line 50 in 5ed5450
While we're at it, since
this.forummight not exist yet when the component is being unmounted, perhaps thecomponentWillUnmountimplementation should bethis.forum?.destroy();.