ordering-ui-react-native 0.22.61 → 0.22.62
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
|
@@ -11,6 +11,8 @@ import { BusinessMenuList } from '../BusinessMenuList'
|
|
|
11
11
|
import Spinner from 'react-native-loading-spinner-overlay'
|
|
12
12
|
import { BusinessPreorderParams } from '../../types'
|
|
13
13
|
import moment from 'moment'
|
|
14
|
+
import { setLocalMoment } from '../../utils';
|
|
15
|
+
|
|
14
16
|
import SelectDropdown from 'react-native-select-dropdown'
|
|
15
17
|
import {
|
|
16
18
|
PreOrderContainer,
|
|
@@ -311,6 +313,10 @@ const BusinessPreorderUI = (props: BusinessPreorderParams) => {
|
|
|
311
313
|
}
|
|
312
314
|
}, [dateSelected])
|
|
313
315
|
|
|
316
|
+
useEffect(() => {
|
|
317
|
+
setLocalMoment(moment, t)
|
|
318
|
+
}, [])
|
|
319
|
+
|
|
314
320
|
useFocusEffect(
|
|
315
321
|
React.useCallback(() => {
|
|
316
322
|
handleAsap && handleAsap()
|