style: add missing trailing commas (#9387)

This commit is contained in:
Kagami Sascha Rosylight 2022-12-22 16:01:59 +09:00 committed by GitHub
parent 9314ceae36
commit f1fd1d2585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 320 additions and 320 deletions

View file

@ -33,8 +33,8 @@ const props = withDefaults(defineProps<{
}>(), {
value: {
title: null,
children: []
}
children: [],
},
});
const getPageBlockList = inject<(any) => any>('getPageBlockList');
@ -42,7 +42,7 @@ const getPageBlockList = inject<(any) => any>('getPageBlockList');
async function rename() {
const { canceled, result: title } = await os.inputText({
title: 'Enter title',
default: props.value.title
default: props.value.title,
});
if (canceled) return;
props.value.title = title;
@ -51,7 +51,7 @@ async function rename() {
async function add() {
const { canceled, result: type } = await os.select({
title: i18n.ts._pages.chooseBlock,
groupedItems: getPageBlockList()
groupedItems: getPageBlockList(),
});
if (canceled) return;