From a7c282ca348c1e8e60559e5c064caee28ba11eec Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:34:12 +0300 Subject: refactor: so much shit --- frontend/src/pages/Rules.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/pages/Rules.tsx') 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 = () => { const fetchRules = async () => { try { const response = await fetch( - 'https://raw.githubusercontent.com/pektezol/leastportalshub/main/README.md' + 'https://raw.githubusercontent.com/pektezol/leastportalshub/typescript/RULES.md' ); if (!response.ok) { throw new Error('Failed to fetch README'); @@ -21,7 +21,7 @@ const Rules: React.FC = () => { } catch (error) { console.error('Error fetching Rules:', error); } - setRulesText(rulesText) + // setRulesText(rulesText) }; fetchRules(); }, []); -- cgit v1.2.3