Skip to content

Commit afefa63

Browse files
authored
Fix Rule github link (#334)
## Description Update Github link to correct file
1 parent b8a8ef9 commit afefa63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/RuleActionButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { useIsAdminPage } from "@/components/hooks/useIsAdminPage";
77
import ChatGPTSummaryButton from "@/components/OpenInChatGptButton";
88
import { IconLink } from "@/components/ui";
99
import { ICON_SIZE } from "@/constants";
10-
import { Rule } from "@/types/rule";
1110
import { getSanitizedBasePath } from "@/lib/withBasePath";
11+
import { Rule } from "@/types/rule";
1212

1313
interface RuleActionButtonsProps {
1414
rule: Rule;
@@ -33,7 +33,7 @@ export default function RuleActionButtons({ rule, showBookmark = true, showOpenI
3333
<RiPencilLine size={ICON_SIZE} />
3434
</IconLink>
3535
<IconLink
36-
href={`https://github.com/SSWConsulting/SSW.Rules.Content/blob/main/rules/${rule.uri}/rule.md`}
36+
href={`https://github.com/SSWConsulting/SSW.Rules.Content/blob/main/rules/${rule.uri}/rule.mdx`}
3737
target="_blank"
3838
title="View rule on GitHub"
3939
tooltipOpaque={true}

0 commit comments

Comments
 (0)