Fix lint errors

This commit is contained in:
Sakura Knoll
2021-12-28 16:00:50 +09:00 Unverified
parent 950b23b134
commit d6d99eb8f7
2 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -89,6 +89,7 @@ const VersionShowPage = ({
{battlesuits.map((battlesuit) => {
return (
<NextLink
key={battlesuit.id}
href={`/honkai3rd/battlesuits/${battlesuit.id}`}
passHref
>
@@ -114,7 +115,11 @@ const VersionShowPage = ({
<Box mb={3} sx={{ display: 'inline-block' }}>
{weapons.map((weapon) => {
return (
<NextLink href={`/honkai3rd/weapons/${weapon.id}`} passHref>
<NextLink
key={weapon.id}
href={`/honkai3rd/weapons/${weapon.id}`}
passHref
>
<Link>
<Flex sx={{ alignItems: 'center' }} mb={2}>
<SquareImageBox
+6 -1
View File
@@ -88,6 +88,7 @@ const VersionIndexPage = ({
{currentVersionNewBattlesuits.map((battlesuit) => {
return (
<NextLink
key={battlesuit.id}
href={`/honkai3rd/battlesuits/${battlesuit.id}`}
passHref
>
@@ -113,7 +114,11 @@ const VersionIndexPage = ({
<Box mb={3} sx={{ display: 'inline-block' }}>
{currentVersionNewWeapons.map((weapon) => {
return (
<NextLink href={`/honkai3rd/weapons/${weapon.id}`} passHref>
<NextLink
key={weapon.id}
href={`/honkai3rd/weapons/${weapon.id}`}
passHref
>
<Link>
<Flex sx={{ alignItems: 'center' }} mb={2}>
<SquareImageBox