fix: Update map with tables fixes

This commit is contained in:
2025-07-09 18:56:18 +03:00
parent 78800ee2ae
commit e2547cb571
87 changed files with 5392 additions and 1410 deletions

View File

@ -44,7 +44,7 @@ export const StationCreatePage = observer(() => {
try {
setIsLoading(true);
await createStation();
toast.success("Станция успешно создана");
toast.success("Остановка успешно создана");
navigate("/station");
} catch (error) {
console.error("Error creating station:", error);
@ -79,7 +79,7 @@ export const StationCreatePage = observer(() => {
<div className="flex flex-col gap-10 w-full items-end">
<div className="flex gap-10 items-center mb-5 max-w-[80%] self-start">
<h1 className="text-3xl break-words">Создание станции</h1>
<h1 className="text-3xl break-words">Создание остановки</h1>
</div>
<TextField
fullWidth
@ -113,15 +113,15 @@ export const StationCreatePage = observer(() => {
<TextField
fullWidth
label="Описание"
value={createStationData[language].description || ""}
value={createStationData.common.description || ""}
onChange={(e) =>
setLanguageCreateStationData(language, {
setCreateCommonData({
description: e.target.value,
})
}
/>
<TextField
{/* <TextField
fullWidth
label="Адрес"
value={createStationData[language].address || ""}
@ -130,7 +130,7 @@ export const StationCreatePage = observer(() => {
address: e.target.value,
})
}
/>
/> */}
<TextField
fullWidth