forked from magonysandormate/PeePal
Kész(?)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user