(cards) implements spaced repetition cards

This commit is contained in:
2021-06-12 16:11:47 +02:00
parent 54bce75122
commit 257dc0794b
9 changed files with 210 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ export const useLinks = (className: string, sha?: string) => {
const linkNote: EventListener = (event) => {
event.preventDefault()
event.stopPropagation()
const target = event.target as HTMLElement
const href = target.getAttribute('href')