fix alert text

This commit is contained in:
Thomas Ruoff
2020-10-07 23:32:05 +02:00
parent e4082353e3
commit aedc9c894f
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ export default function BillPage({
booking.bill = bill booking.bill = bill
setBooking(booking) setBooking(booking)
} catch (error) { } catch (error) {
setStoringError(error.toString()) setStoringError('Buchung konnte nicht gespeichert werden!')
console.error('Failed to store booking', error) console.error('Failed to store booking', error)
} }
setStoringInProgress(false) setStoringInProgress(false)

View File

@@ -78,7 +78,7 @@ export default function ShowBooking({
setBooking(updatedBooking) setBooking(updatedBooking)
} catch (e) { } catch (e) {
alert( alert(
'Die Buchung konnte nicht storniert werden. Kontaktieren Sie uns bitt per E-Mail!' 'Die Buchung konnte nicht storniert werden. Schreiben Sie uns eine E-Mail'
) )
} }
} }