Skip to content

Commit a4081c2

Browse files
Merge branch 'main' into feat/how-it-works
2 parents 2bf5319 + 393dc7e commit a4081c2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/ui/page-issue-link.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, createMemo, createSignal, onMount } from "solid-js";
1+
import { Component, createMemo } from "solid-js";
22
import { Icon } from "solid-heroicons";
33
import { exclamationTriangle } from "solid-heroicons/outline";
44
import { useI18n } from "~/i18n/i18n-context";
@@ -18,7 +18,7 @@ export const PageIssueLink: Component = () => {
1818
"&template=CONTENT.yml" +
1919
"&title=[Content]:" +
2020
`&subject=${getEntryFileName()}` +
21-
`&page=${`https://docs.solidjs.com/${location.pathname}`}`
21+
`&page=https://docs.solidjs.com${location.pathname}`
2222
);
2323
});
2424

@@ -28,7 +28,11 @@ export const PageIssueLink: Component = () => {
2828
href={srcPath()}
2929
target="_blank"
3030
>
31-
<Icon class="mr-1 w-[16px]" path={exclamationTriangle} />
31+
<Icon
32+
aria-hidden="true"
33+
class="mr-1 w-[16px]"
34+
path={exclamationTriangle}
35+
/>
3236
{i18n.t("contribute.report")}
3337
</a>
3438
);

0 commit comments

Comments
 (0)