diff --git a/docker/Makefile b/docker/Makefile index 7b8bcd0..0b47f47 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -28,7 +28,7 @@ run-ganache-test: # Rendezvous targets run-rendezvous: @docker network create --driver bridge concordia_rendezvous_network || true &&\ - docker run -d -p 9090:9090 --name concordia-rendezvous libp2p/js-libp2p-webrtc-star:version-0.20.1 + docker run -d -p 9090:9090 --name concordia-rendezvous libp2p/js-libp2p-webrtc-star:version-0.20.5 # Contracts targets build-contracts: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d3a6a42..3fa4386 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -21,7 +21,7 @@ services: restart: always rendezvous: - image: libp2p/js-libp2p-webrtc-star:version-0.20.1 + image: libp2p/js-libp2p-webrtc-star:version-0.20.5 container_name: concordia-rendezvous networks: rendezvous_network: diff --git a/packages/concordia-app/src/components/UsernameSelector.jsx b/packages/concordia-app/src/components/UsernameSelector.jsx index 530cd7a..8323757 100644 --- a/packages/concordia-app/src/components/UsernameSelector.jsx +++ b/packages/concordia-app/src/components/UsernameSelector.jsx @@ -38,7 +38,7 @@ const UsernameSelector = (props) => { }); } else { onErrorChangeCallback({ - usernameChecked: checkedUsername !== undefined, + usernameChecked: true, error: false, errorMessage: null, }); diff --git a/packages/concordia-app/src/options/web3Options.js b/packages/concordia-app/src/options/web3Options.js index 36fac71..0190d32 100644 --- a/packages/concordia-app/src/options/web3Options.js +++ b/packages/concordia-app/src/options/web3Options.js @@ -17,7 +17,7 @@ const web3WebsocketOptions = { }; const web3 = (WEB3_HOST !== undefined && WEB3_PORT !== undefined) - ? `ws://${WEB3_HOST}:${WEB3_PORT}` + ? new Web3.providers.WebsocketProvider(`ws://${WEB3_HOST}:${WEB3_PORT}`) : new Web3(Web3.givenProvider || new Web3.providers.WebsocketProvider( `ws://${WEB3_HOST_DEFAULT}:${WEB3_PORT_DEFAULT}`, web3WebsocketOptions, )); diff --git a/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx b/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx index 9e1b974..2515bea 100644 --- a/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx +++ b/packages/concordia-app/src/views/Profile/GeneralTab/index.jsx @@ -66,7 +66,7 @@ const GeneralTab = (props) => { } }, [dispatch, profileAddress, users]); - const authorAvatar = useMemo(() => (profileMetadataFetched && userAvatarUrl !== null + const authorAvatar = useMemo(() => (profileMetadataFetched && userAvatarUrl ? (