aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/Rules.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages/Rules.tsx')
-rw-r--r--frontend/src/pages/Rules.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/pages/Rules.tsx b/frontend/src/pages/Rules.tsx
index 516b73c..99fff1f 100644
--- a/frontend/src/pages/Rules.tsx
+++ b/frontend/src/pages/Rules.tsx
@@ -11,7 +11,7 @@ const Rules: React.FC = () => {
11 const fetchRules = async () => { 11 const fetchRules = async () => {
12 try { 12 try {
13 const response = await fetch( 13 const response = await fetch(
14 'https://raw.githubusercontent.com/pektezol/leastportalshub/main/README.md' 14 'https://raw.githubusercontent.com/pektezol/leastportalshub/typescript/RULES.md'
15 ); 15 );
16 if (!response.ok) { 16 if (!response.ok) {
17 throw new Error('Failed to fetch README'); 17 throw new Error('Failed to fetch README');
@@ -21,7 +21,7 @@ const Rules: React.FC = () => {
21 } catch (error) { 21 } catch (error) {
22 console.error('Error fetching Rules:', error); 22 console.error('Error fetching Rules:', error);
23 } 23 }
24 setRulesText(rulesText) 24 // setRulesText(rulesText)
25 }; 25 };
26 fetchRules(); 26 fetchRules();
27 }, []); 27 }, []);