🚨 Fix linting errors
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
import { Github } from '../icons'
|
||||
|
||||
interface Props {
|
||||
github: { url: string; version: string; active?: boolean; href?: string }
|
||||
github: { href: string; active?: boolean }
|
||||
}
|
||||
|
||||
let { github }: Props = $props()
|
||||
</script>
|
||||
|
||||
{#if github.active}
|
||||
<!-- eslint-disable-next-line svelte/no-navigation-without-resolve -- external URL -->
|
||||
<a href={github.href} class="btn btn-ghost" target="_blank" rel="noopener noreferrer">
|
||||
<Github class="h-5 w-5" />
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user