diff --git a/cmd/wmaker.sh b/cmd/wmaker.sh index 2a45eb4..25a5720 100755 --- a/cmd/wmaker.sh +++ b/cmd/wmaker.sh @@ -27,7 +27,7 @@ OUTPUT_DIR="$(pwd)${BUILD_PATH}/${UNIX_TIME}" export REACT_APP_GEO_LOOKUP_URL="https://geo.getiantem.org/lookup" export REACT_APP_DISCOVERY_SRV="https://bf-freddie.herokuapp.com" export REACT_APP_DISCOVERY_ENDPOINT="/v1/signal" -export REACT_APP_EGRESS_ADDR="wss://bf-egress.herokuapp.com" +export REACT_APP_EGRESS_ADDR="wss://unbounded.iantem.io" export REACT_APP_EGRESS_ENDPOINT="/ws" export REACT_APP_NETSTATED_URL="https://netstated-d7bbec1ed55b.herokuapp.com/exec" diff --git a/ui/.env.production.example b/ui/.env.production.example index a59dda6..ee4b897 100644 --- a/ui/.env.production.example +++ b/ui/.env.production.example @@ -30,8 +30,8 @@ REACT_APP_DISCOVERY_ENDPOINT=/v1/signal # wasm client egress address # use http://localhost:8000 for local egress -# use wss://bf-egress.herokuapp.com' for production egress -REACT_APP_EGRESS_ADDR=wss://bf-egress.herokuapp.com +# use wss://unbounded.iantem.io' for production egress +REACT_APP_EGRESS_ADDR=wss://unbounded.iantem.io # wasm client egress endpoint REACT_APP_EGRESS_ENDPOINT=/ws diff --git a/ui/extension/app/manifest.json b/ui/extension/app/manifest.json index d09b527..477c610 100644 --- a/ui/extension/app/manifest.json +++ b/ui/extension/app/manifest.json @@ -2,7 +2,7 @@ "name": "__MSG_appName__", "short_name": "__MSG_appShortName__", "description": "__MSG_appDescription__", - "version": "0.0.0.5", + "version": "0.0.0.6", "__chrome__manifest_version": 3, "__firefox__manifest_version": 2, "__chrome__minimum_chrome_version": "88", diff --git a/ui/src/components/atoms/row/index.tsx b/ui/src/components/atoms/row/index.tsx index 97f5027..f7b76ff 100644 --- a/ui/src/components/atoms/row/index.tsx +++ b/ui/src/components/atoms/row/index.tsx @@ -11,7 +11,7 @@ interface Props { } const Row = ({children, borderTop = false, borderBottom = true, backgroundColor = COLORS.transparent}: Props) => { - const {theme, menu, layout} = useContext(AppContext).settings + const {theme, layout} = useContext(AppContext).settings return ( { const components: Record = { love: , lantern: ( - + Lantern ) diff --git a/ui/src/components/molecules/modal/index.tsx b/ui/src/components/molecules/modal/index.tsx index ce6b7b1..d1cb9e7 100644 --- a/ui/src/components/molecules/modal/index.tsx +++ b/ui/src/components/molecules/modal/index.tsx @@ -19,6 +19,7 @@ const Modal = ({ onIgnore, isCensored }: {onIgnore: () => void, isCensored: bool if (!canRenderModal) { onIgnore(); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [canRenderModal, isCensored]); // Modal content to be rendered diff --git a/ui/src/components/molecules/modal/styles.tsx b/ui/src/components/molecules/modal/styles.tsx index 39bf188..ab3c43d 100644 --- a/ui/src/components/molecules/modal/styles.tsx +++ b/ui/src/components/molecules/modal/styles.tsx @@ -1,5 +1,5 @@ import styled from 'styled-components' -import {COLORS, Layouts, SHADOWS, Themes} from '../../../constants' +import {COLORS, Layouts, Themes} from '../../../constants' import {getBorderRadius} from '../../../layout/styles' const Container = styled.div` diff --git a/ui/src/components/molecules/stats/index.tsx b/ui/src/components/molecules/stats/index.tsx index 7134979..09e857f 100644 --- a/ui/src/components/molecules/stats/index.tsx +++ b/ui/src/components/molecules/stats/index.tsx @@ -8,7 +8,7 @@ import {useEmitterState} from '../../../hooks/useStateEmitter' import {connectionsEmitter, lifetimeConnectionsEmitter} from '../../../utils/wasmInterface' import {humanizeCount} from '../../../utils/humanize' import {LifetimeConnectionsWrapper} from './styles' -import {Layouts} from '../../../constants' +// import {Layouts} from '../../../constants' import {useTranslation} from 'react-i18next' // import TwitterLink from '../../atoms/twitterLink' // import useSample from '../../../hooks/useSample' @@ -33,7 +33,7 @@ export const Connections = () => { const Stats = () => { const {t} = useTranslation() const {settings} = useContext(AppContext) - const {menu, layout} = settings + const {menu} = settings const connections = useEmitterState(connectionsEmitter) const lifetimeConnections = useEmitterState(lifetimeConnectionsEmitter) // const sampledThroughput = useSample({emitter: averageThroughputEmitter, ms: 500}) diff --git a/ui/src/hooks/useGeoFuture.ts b/ui/src/hooks/useGeoFuture.ts index 0dd3f8a..93dc846 100644 --- a/ui/src/hooks/useGeoFuture.ts +++ b/ui/src/hooks/useGeoFuture.ts @@ -207,6 +207,7 @@ export const useGeo = () => { text: t('waiting'), ellipse: true }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [sharing, active]) useEffect(() => {