Trashboxes fetching fixes

This commit is contained in:
2023-08-12 02:50:26 +03:00
parent a5798cf767
commit 0aaef69a5a
4 changed files with 7 additions and 27 deletions

View File

@ -3,7 +3,7 @@ import { colors, lineNames, lineByName } from '../assets/metro'
function LineDot({ station }: { station: string }) {
const line = lineByName(station)
if (line == undefined) {
if (line === undefined) {
return <></>
}

View File

@ -26,7 +26,7 @@ function Poetry() {
}}
/>
<p><em>{poetry.data.author}</em></p>
<img src={`/poem_pic/${poetry.data.id}`} alt='Иллюстрация' />
<img src={`/poem_pic/${poetry.data.id}.jpg`} alt='Иллюстрация' />
</>
)
) : (