ordering-ui-react-native 0.23.87 → 0.23.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.23.87",
3
+ "version": "0.23.88",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -259,7 +259,7 @@ const ServiceFormUI = (props: ServiceFormParams) => {
259
259
  }
260
260
 
261
261
  useEffect(() => {
262
- if (selectDate === null || currentProfessional === null) return
262
+ if (selectDate === null || currentProfessional?.schedule) return
263
263
  const _times = getTimes(selectDate, currentProfessional)
264
264
  setTimeList(_times)
265
265
  }, [selectDate, currentProfessional])