This commit is contained in:
Sándor Máté Magony
2025-05-11 13:07:54 +02:00
parent ec057787fd
commit a85c207b44
13 changed files with 25 additions and 169 deletions

View File

@@ -34,7 +34,6 @@ export default function Csempe() {
})
.then(response => {
if (response.ok) {
// Sikeres törlés után szűrd ki az adott elemet a state-ből
setMosdok(prev => prev.filter(m => m.id !== mosdoId));
} else {
console.error("Törlés sikertelen");