Set printWidth to 100 for code files
This commit is contained in:
parent
2531e7d640
commit
b70903ef6f
6 changed files with 19 additions and 41 deletions
|
|
@ -23,10 +23,7 @@ export const useNotesStore = defineStore("notes", () => {
|
|||
});
|
||||
}
|
||||
|
||||
function appendNewChildNote(
|
||||
parentId: string,
|
||||
text: string,
|
||||
): Note | undefined {
|
||||
function appendNewChildNote(parentId: string, text: string): Note | undefined {
|
||||
const parent = notes.value.get(parentId);
|
||||
if (parent === undefined) return undefined;
|
||||
const note = addNewNote(text);
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@ export const useReposStore = defineStore("repos", () => {
|
|||
return values;
|
||||
});
|
||||
|
||||
const repoIdsByName = computed<string[]>(() =>
|
||||
reposByName.value.map((it) => it.id),
|
||||
);
|
||||
const repoIdsByName = computed<string[]>(() => reposByName.value.map((it) => it.id));
|
||||
|
||||
function addRepo(repo: Repo) {
|
||||
repos.value.set(repo.id, repo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue