mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
use types instead of interfaces
This commit is contained in:
@@ -8,11 +8,7 @@ import { getServerSideBooking } from '../../../lib/getServerSideProps'
|
||||
|
||||
export const getServerSideProps = getServerSideBooking
|
||||
|
||||
export default function ShowBookingStored({
|
||||
booking: booking,
|
||||
}: {
|
||||
booking: Booking
|
||||
}) {
|
||||
export default function ShowBookingStored({ booking }: { booking: Booking }) {
|
||||
const [storedBookingData, setStoredBookingData] = useState(null)
|
||||
const [bookingDataStored, setBookingDataStored] = useState(false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user