forked from polka_billy/porridger
Trashboxes fetching fixes
This commit is contained in:
@ -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 <></>
|
||||
}
|
||||
|
||||
|
@ -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='Иллюстрация' />
|
||||
</>
|
||||
)
|
||||
) : (
|
||||
|
Reference in New Issue
Block a user