• Robert Knight's avatar
    Defer initial WebSocket connection until profile is fetched · a120b2dd
    Robert Knight authored
    Following https://github.com/hypothesis/client/pull/2837 the
    `SidebarView` component may now be rendered before the profile has been
    fetched. This component contains an effect which triggers the initial
    WebSocket connection. Since the WebSocket reconnects after the profile userid
    changes, this was causing the initial connection to almost immediately
    be disconnected if the user was logged in. Fix this by deferring the initial
    connection until after the profile has been fetched.
    a120b2dd
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...