ordering-ui-react-native 0.23.86 → 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
|
@@ -259,7 +259,7 @@ const ServiceFormUI = (props: ServiceFormParams) => {
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
useEffect(() => {
|
|
262
|
-
if (selectDate === null || currentProfessional
|
|
262
|
+
if (selectDate === null || currentProfessional?.schedule) return
|
|
263
263
|
const _times = getTimes(selectDate, currentProfessional)
|
|
264
264
|
setTimeList(_times)
|
|
265
265
|
}, [selectDate, currentProfessional])
|