Lazily fixing build errors

This commit is contained in:
Justin Edmund 2022-03-06 02:15:36 -08:00
parent 745f9b6c47
commit 42ac5d7dc1
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,5 @@
import React, { useEffect, useState } from 'react'
import Link from 'next/link'
import { useCookies } from 'react-cookie'
import { useRouter } from 'next/router'
import { Trans, useTranslation } from 'next-i18next'
@ -288,7 +289,7 @@ const SignupModal = (props: Props) => {
<Dialog.Description className="terms">
<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>
</Dialog.Description>
</form>

View file

@ -124,13 +124,13 @@ const WeaponHovercard = (props: Props) => {
<h5 className={tintElement}>{t('modals.weapon.subtitles.ax_skills')}</h5>
<div className="skills">
<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>
</div>
{ (props.gridWeapon.ax && props.gridWeapon.ax[1].modifier && props.gridWeapon.ax[1].strength) ?
<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>
</div> : ''}
</div>

View file

@ -17,7 +17,6 @@ function MyApp({ Component, pageProps }: AppProps) {
console.log(`Logged in as user "${cookies.account.username}"`)
accountState.account.authorized = true
accountState.account.language = cookies.account.language
accountState.account.user = {
id: cookies.account.user_id,
username: cookies.account.username,