refactor: always use shorthand object properties

This commit is contained in:
2026-08-08 16:15:44 +02:00
parent 73f7b8d087
commit 84fd01a653
3 changed files with 3 additions and 3 deletions
@@ -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
View File
@@ -34,7 +34,7 @@ export const SUPPORTED_LANGUAGES = [
export const i18n = createI18n({
legacy: false,
locale: fallbackLocale,
fallbackLocale: fallbackLocale,
fallbackLocale,
messages: {}
});