Lazily fixing build errors
This commit is contained in:
parent
745f9b6c47
commit
42ac5d7dc1
3 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import React, { useEffect, useState } from 'react'
|
import React, { useEffect, useState } from 'react'
|
||||||
|
import Link from 'next/link'
|
||||||
import { useCookies } from 'react-cookie'
|
import { useCookies } from 'react-cookie'
|
||||||
import { useRouter } from 'next/router'
|
import { useRouter } from 'next/router'
|
||||||
import { Trans, useTranslation } from 'next-i18next'
|
import { Trans, useTranslation } from 'next-i18next'
|
||||||
|
|
@ -288,7 +289,7 @@ const SignupModal = (props: Props) => {
|
||||||
|
|
||||||
<Dialog.Description className="terms">
|
<Dialog.Description className="terms">
|
||||||
<Trans i18nKey="modals.signup.agreement">
|
<Trans i18nKey="modals.signup.agreement">
|
||||||
By signing up, I agree to the <a href="/privacy">Privacy Policy</a><a href="/usage">Usage Guidelines</a>.
|
By signing up, I agree to the <Link href="/privacy">Privacy Policy</Link><Link href="/usage">Usage Guidelines</Link>.
|
||||||
</Trans>
|
</Trans>
|
||||||
</Dialog.Description>
|
</Dialog.Description>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -124,13 +124,13 @@ const WeaponHovercard = (props: Props) => {
|
||||||
<h5 className={tintElement}>{t('modals.weapon.subtitles.ax_skills')}</h5>
|
<h5 className={tintElement}>{t('modals.weapon.subtitles.ax_skills')}</h5>
|
||||||
<div className="skills">
|
<div className="skills">
|
||||||
<div className="primary axSkill">
|
<div className="primary axSkill">
|
||||||
<img src={`/icons/ax/primary_${ (props.gridWeapon.ax) ? props.gridWeapon.ax[0].modifier : '' }.png`} />
|
<img alt="AX1" src={`/icons/ax/primary_${ (props.gridWeapon.ax) ? props.gridWeapon.ax[0].modifier : '' }.png`} />
|
||||||
<span>{createPrimaryAxSkillString()}</span>
|
<span>{createPrimaryAxSkillString()}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{ (props.gridWeapon.ax && props.gridWeapon.ax[1].modifier && props.gridWeapon.ax[1].strength) ?
|
{ (props.gridWeapon.ax && props.gridWeapon.ax[1].modifier && props.gridWeapon.ax[1].strength) ?
|
||||||
<div className="secondary axSkill">
|
<div className="secondary axSkill">
|
||||||
<img src={`/icons/ax/secondary_${ (props.gridWeapon.ax) ? props.gridWeapon.ax[1].modifier : '' }.png`} />
|
<img alt="AX2" src={`/icons/ax/secondary_${ (props.gridWeapon.ax) ? props.gridWeapon.ax[1].modifier : '' }.png`} />
|
||||||
<span>{createSecondaryAxSkillString()}</span>
|
<span>{createSecondaryAxSkillString()}</span>
|
||||||
</div> : ''}
|
</div> : ''}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ function MyApp({ Component, pageProps }: AppProps) {
|
||||||
console.log(`Logged in as user "${cookies.account.username}"`)
|
console.log(`Logged in as user "${cookies.account.username}"`)
|
||||||
|
|
||||||
accountState.account.authorized = true
|
accountState.account.authorized = true
|
||||||
accountState.account.language = cookies.account.language
|
|
||||||
accountState.account.user = {
|
accountState.account.user = {
|
||||||
id: cookies.account.user_id,
|
id: cookies.account.user_id,
|
||||||
username: cookies.account.username,
|
username: cookies.account.username,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue