chore: lint and fmt

This commit is contained in:
Julien Calixte
2026-03-28 09:38:55 +01:00
parent 8e8706e258
commit 5f48aa5690
108 changed files with 726 additions and 680 deletions

View File

@@ -1,6 +1,7 @@
<script lang="ts" setup>
import { format } from "date-fns"
import { computed, ref, watch } from "vue"
import FluxNote from "@/components/FluxNote.vue"
import { useEditionMode } from "@/hooks/useEditionMode"
import { useGitHubContent } from "@/hooks/useGitHubContent.hook"
@@ -70,7 +71,7 @@ const handleYouTube = async () => {
const { createFile } = useGitHubContent({
repo: repo.value,
user: user.value,
user: user.value
})
const hasTodayNote = computed(() => content.value.includes(today))
@@ -83,7 +84,7 @@ watch(mode, async (newMode) => {
const newSha = await createFile({
content,
path: newContentPath,
path: newContentPath
})
if (!newSha) {
@@ -94,7 +95,7 @@ watch(mode, async (newMode) => {
const { saveCacheNote } = prepareNoteCache(newSha, newContentPath)
await saveCacheNote(encodeUTF8ToBase64(content), {
editedSha: newSha,
path: newContentPath,
path: newContentPath
})
addStackedNote("", newSha)