diff --git a/packages/web/src/common/store/account/sagas.js b/packages/web/src/common/store/account/sagas.js index 8c8a0cd799..d28a8d1f1f 100644 --- a/packages/web/src/common/store/account/sagas.js +++ b/packages/web/src/common/store/account/sagas.js @@ -186,6 +186,10 @@ export function* fetchAccountAsync({ isSignUp = false }) { reason: 'ACCOUNT_NOT_FOUND' }) ) + if (!isNativeMobile) { + const localStorage = yield getContext('localStorage') + yield call([localStorage, 'removeItem'], 'useMetaMask') + } return } if (account.is_deactivated) { diff --git a/packages/web/src/components/banner/Web3ErrorBanner.tsx b/packages/web/src/components/banner/Web3ErrorBanner.tsx index 2b83780c4e..57d3f4dffd 100644 --- a/packages/web/src/components/banner/Web3ErrorBanner.tsx +++ b/packages/web/src/components/banner/Web3ErrorBanner.tsx @@ -15,7 +15,7 @@ const messages = { } const META_MASK_SETUP_URL = - 'https://medium.com/@audius/configuring-metamask-for-use-with-audius-91e24bf6840' + 'https://help.audius.co/help/configuring-metamask-for-use-with-audius-2d446' /** * Displays an error banner if the user is trying to use Metamask but it's configured incorrectly diff --git a/packages/web/src/hooks/useTabs/useTabs.tsx b/packages/web/src/hooks/useTabs/useTabs.tsx index ecde899588..a304282e54 100644 --- a/packages/web/src/hooks/useTabs/useTabs.tsx +++ b/packages/web/src/hooks/useTabs/useTabs.tsx @@ -755,7 +755,6 @@ const BodyContainer = memo( dimensionsAreDirty, didSetDimensions }: BodyContainerProps) => { - console.log('hmm', elements, activeIndex) // Get a ref to the element to use for calculating height const { containerWidth, diff --git a/packages/web/src/pages/sign-on/SignOnProvider.tsx b/packages/web/src/pages/sign-on/SignOnProvider.tsx index ead79c7d74..4c19315ebc 100644 --- a/packages/web/src/pages/sign-on/SignOnProvider.tsx +++ b/packages/web/src/pages/sign-on/SignOnProvider.tsx @@ -61,7 +61,7 @@ const messages = { } const META_MASK_SETUP_URL = - 'https://support.audius.co/help/Configuring-MetaMask-For-Use-With-Audius' + 'https://help.audius.co/help/configuring-metamask-for-use-with-audius-2d446' type OwnProps = { children: ComponentType | ComponentType diff --git a/packages/web/src/pages/sign-on/components/desktop/SignOnPage.tsx b/packages/web/src/pages/sign-on/components/desktop/SignOnPage.tsx index 783f181eae..782a4cafeb 100644 --- a/packages/web/src/pages/sign-on/components/desktop/SignOnPage.tsx +++ b/packages/web/src/pages/sign-on/components/desktop/SignOnPage.tsx @@ -143,10 +143,6 @@ const animatedStyle = { } } -/** - * TODO: When the user selects the metamask option, set the localStorage key 'useMetaMask' to true - * Reference the setup function in Audius backend. A new instance of Audiusbackend will have to be created - */ const SignOnPage = ({ title, description,