refacto with no nosence

This commit is contained in:
Julien Calixte
2023-08-14 18:42:35 +02:00
parent 42aea6bb7f
commit 6412b1252c
4 changed files with 9 additions and 227 deletions

View File

@@ -52,8 +52,6 @@ watch(content, () => {
generateTweets()
})
})
const focus = () => scrollToFocusedNote(props.sha)
</script>
<template>
@@ -66,7 +64,9 @@ const focus = () => scrollToFocusedNote(props.sha)
}"
>
<div class="title-stacked-note" :class="titleClassName">
<a @click.prevent="focus">{{ displayedTitle }}</a>
<a @click.prevent="scrollToFocusedNote(props.sha)">{{
displayedTitle
}}</a>
</div>
<div v-if="false" class="share">
<router-link