diff --git a/.eslintrc b/.eslintrc index 06a742c859..57aa770404 100644 --- a/.eslintrc +++ b/.eslintrc @@ -5,5 +5,8 @@ "pragma": "h", "version": "16.0" } + }, + "rules": { + "jsx-a11y/anchor-is-valid": "off" } } diff --git a/src/components/navigation.js b/src/components/navigation.js index e058fabde6..dcf71dd75e 100644 --- a/src/components/navigation.js +++ b/src/components/navigation.js @@ -64,7 +64,6 @@ const Navigation = ({ dark, login, loggedIn, username }) => ( - + + ) : ( + + )} diff --git a/src/modules/account.js b/src/modules/account.js index 9813df1feb..17393ce251 100644 --- a/src/modules/account.js +++ b/src/modules/account.js @@ -17,7 +17,7 @@ export const { resetSession } = createActions( { - LOGIN: () => async (dispatch, getState) => { + LOGIN: provider => async (dispatch, getState) => { const version = getLatestRelease(getState()) const localUuid = getState().account.uuid const baseUrl = getBaseUrl() @@ -26,7 +26,7 @@ export const { loadingPane.focus() const authResponse = await runeliteApi( - `runelite-${version}/account/login?uuid=${localUuid}`, + `runelite-${version}/account/login?uuid=${localUuid}&provider=${provider}`, { method: 'GET' }