generated from Seekra/repository-template
refactor: always use shorthand object properties
This commit is contained in:
@@ -89,7 +89,7 @@ describe('SettingsInput', () => {
|
|||||||
const wrapper = getWrapper({
|
const wrapper = getWrapper({
|
||||||
type: 'string',
|
type: 'string',
|
||||||
i18n: 'input',
|
i18n: 'input',
|
||||||
defaultValue: defaultValue,
|
defaultValue,
|
||||||
piniaOptions: {
|
piniaOptions: {
|
||||||
setupStores: () => {
|
setupStores: () => {
|
||||||
const store = useSettingsStore();
|
const store = useSettingsStore();
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ const getWrapper = function getWrapper({ content = [], translations = {}, piniaO
|
|||||||
name: 'section',
|
name: 'section',
|
||||||
type: 'section',
|
type: 'section',
|
||||||
i18n: 'section',
|
i18n: 'section',
|
||||||
content: content
|
content
|
||||||
},
|
},
|
||||||
path: 'section'
|
path: 'section'
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ export const SUPPORTED_LANGUAGES = [
|
|||||||
export const i18n = createI18n({
|
export const i18n = createI18n({
|
||||||
legacy: false,
|
legacy: false,
|
||||||
locale: fallbackLocale,
|
locale: fallbackLocale,
|
||||||
fallbackLocale: fallbackLocale,
|
fallbackLocale,
|
||||||
messages: {}
|
messages: {}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user