🐛 (breadcrump) back to home on click

This commit is contained in:
2021-04-03 23:16:18 +02:00
parent c7068f15d8
commit 4b1142d688
3 changed files with 9 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ export const useLinks = (className: string, sha?: string) => {
const target = event.target as HTMLElement
const href = target.getAttribute('href')
console.log(target, href)
if (!href) {
return
}