Fix lint errors

This commit is contained in:
Sakura Knoll
2021-12-20 06:39:12 +09:00 Unverified
parent 266a8acfda
commit daa54e6fdd
7 changed files with 21 additions and 4 deletions
@@ -34,7 +34,10 @@ const BattlesuitShowPage = ({ battlesuit }: BattlesuitShowPageProps) => {
<Box className='mb-4'>
<Box>
<img src={`/assets/honkai3rd/battlesuits/${battlesuit.id}.png`} />
<img
alt={battlesuit.name}
src={`/assets/honkai3rd/battlesuits/${battlesuit.id}.png`}
/>
</Box>
</Box>
@@ -70,6 +70,7 @@ const BattlesuitListPage = ({ battlesuits }: BattlesuitListPageProps) => {
}}
>
<img
alt={battlesuit.name}
style={{
position: 'absolute',
left: '50%',
+5 -1
View File
@@ -37,7 +37,11 @@ const Honkai3rdIndexPage = () => {
<Breadcrumb items={[{ href: 'honkai3rd', label: 'Honkai 3rd' }]} />
<Heading as='h1'>Honkai 3rd</Heading>
<Box mb={3}>
<Image src='/assets/honkai3rd/wallpaper.png' width='100%' />
<Image
alt='Honkai 3rd Wallpaper'
src='/assets/honkai3rd/wallpaper.png'
width='100%'
/>
</Box>
<Box mb={3}>
<Box>
@@ -35,7 +35,10 @@ const StigmataListPage = ({
<Heading as='h1'>{stigmataData.name}</Heading>
<img src={`/assets/honkai3rd/stigmata/${stigmataData.id}.png`} />
<img
alt={stigmataData.name}
src={`/assets/honkai3rd/stigmata/${stigmataData.id}.png`}
/>
<Box>
<Heading as='h2'>Skill - {stigmataData.skill.name}</Heading>
@@ -63,6 +66,7 @@ const StigmataListPage = ({
}}
>
<img
alt={stigmataSetItem.name}
style={{
position: 'absolute',
left: '50%',
+1
View File
@@ -67,6 +67,7 @@ const StigmataListPage = ({ stigmataDataList }: StigmataListPageProps) => {
}}
>
<img
alt={stigmata.name}
style={{
position: 'absolute',
left: '50%',
+4 -1
View File
@@ -33,7 +33,10 @@ const WeaponShowPage = ({ weapon }: WeaponShowPageProps) => {
<Heading as='h1'>{weapon.name}</Heading>
<Box mb={3}>
<Image src={`/assets/honkai3rd/weapons/${weapon.id}.png`} />
<Image
alt={weapon.name}
src={`/assets/honkai3rd/weapons/${weapon.id}.png`}
/>
</Box>
<Heading as='h2'>Weapon Skills</Heading>
<Box>
+1
View File
@@ -67,6 +67,7 @@ const WeaponListPage = ({ weaponDataList }: WeaponListPageProps) => {
}}
>
<img
alt={weapon.name}
style={{
position: 'absolute',
left: '50%',