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({
|
||||
type: 'string',
|
||||
i18n: 'input',
|
||||
defaultValue: defaultValue,
|
||||
defaultValue,
|
||||
piniaOptions: {
|
||||
setupStores: () => {
|
||||
const store = useSettingsStore();
|
||||
|
||||
@@ -30,7 +30,7 @@ const getWrapper = function getWrapper({ content = [], translations = {}, piniaO
|
||||
name: 'section',
|
||||
type: 'section',
|
||||
i18n: 'section',
|
||||
content: content
|
||||
content
|
||||
},
|
||||
path: 'section'
|
||||
}
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ export const SUPPORTED_LANGUAGES = [
|
||||
export const i18n = createI18n({
|
||||
legacy: false,
|
||||
locale: fallbackLocale,
|
||||
fallbackLocale: fallbackLocale,
|
||||
fallbackLocale,
|
||||
messages: {}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user