react-timezone-select 1.2.2 → 1.2.3-experimental.1
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/dist/index.cjs +2 -3
- package/dist/index.mjs +6 -6
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -9992,10 +9992,9 @@ var TimezoneSelect = ({
|
|
|
9992
9992
|
timezones,
|
|
9993
9993
|
...props
|
|
9994
9994
|
}) => {
|
|
9995
|
-
if (!timezones)
|
|
9995
|
+
if (!timezones)
|
|
9996
9996
|
timezones = timezone_list_default;
|
|
9997
|
-
|
|
9998
|
-
const getOptions = (0, import_react9.useMemo)(() => {
|
|
9997
|
+
const getOptions = import_react9.default.useMemo(() => {
|
|
9999
9998
|
return Object.entries(timezones).reduce((selectOptions, zone) => {
|
|
10000
9999
|
const now = Bt.now(zone[0]);
|
|
10001
10000
|
const tz = now.timezone();
|