Describe the Bug
Hello, Martin! I'm reaching out this time regarding an issue I've encountered with the SiteTitle component, possibly related to vtbot or my setup, not sure yet. This problem arose after integrating VT into the system.
I've implemented a custom SiteTitle component featuring two links/logos. However, upon testing, I noticed that clicking on the first link doesn't redirect to the main website. The second link/logo functions correctly, directing to the main page of docs.
Upon inspecting the dev console, I encountered the following error: "Uncaught (in promise) TypeError: Cannot read properties of null (reading 'setAttribute')", which points to StarlightConnector.astro.
To provide more context, here's the link to the custom component:
https://github.com/mearashadowfax/ScrewFast/blob/main/src/components/ui/starlight/SiteTitle.astro
The docs link: https://screwfast.uk/welcome-to-docs/
What's the expected result?
When clicking on either of the two links/logos in the SiteTitle component, the user should be redirected to the corresponding URL.
Link to Minimal Reproducible Example
https://github.com/mearashadowfax/ScrewFast/tree/add-starlight-vt
Participation