Skip to content

Commit 9aff3a6

Browse files
authored
perf: use shallowRef server-side for datetimeFormats (#2333)
1 parent c169d1b commit 9aff3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-i18n-core/src/composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ export function createComposer(options: any = {}): any {
19721972
? options.datetimeFormats
19731973
: { [_locale.value]: {} }
19741974
)
1975-
: /* #__PURE__*/ ref<DateTimeFormatsType>({})
1975+
: /* #__PURE__*/ _ref<DateTimeFormatsType>({})
19761976

19771977
// prettier-ignore
19781978
const _numberFormats = !__LITE__

0 commit comments

Comments
 (0)