CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Bookings state

未關閉
#14 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
主要語言
JavaScript
星號
1
分支
28
PR 合併指標
30 天內沒有已合併 PR

描述

**Instructions:**

In the `` component, declare a new state `bookings` with the corresponding setter function `setBookings` to hold the `FakeBookings` data. Instead of passing `FakeBookings` directly to the `` component, pass the new `bookings` state variable.

**Hint:** The new `bookings` state should be initialised with the `FakeBookings` variable.

**Test:**

- [ ] The bookings are still rendered correctly in the page.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。