This PR makes the implementation use the getUserInfo function (#251) instead of the type of e.followedThreadsLinkTextOrSigninButton to determine whether the user is logged in. Also, a type assertion is replaced with a type-guard application plus error reporting.
This PR makes the implementation use the
getUserInfo
function (#251) instead of the type ofe.followedThreadsLinkTextOrSigninButton
to determine whether the user is logged in. Also, a type assertion is replaced with a type-guard application plus error reporting.