We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbebd3c commit b03da2dCopy full SHA for b03da2d
src/views/DetailedProjectView.tsx
@@ -24,7 +24,7 @@ const DetailedProjectView: React.FC = () => {
24
25
useEffect(() => {
26
setIsLoading(true);
27
- fetch(`https://raw.githubusercontent.com/${project.slug}/main/README.md`)
+ fetch(`https://raw.githubusercontent.com/${project.slug}/dev/README.md`)
28
.then(response => response.text())
29
.then(response =>
30
setProjectRawData(response.split('<!-- End of Section -->'))
@@ -74,7 +74,7 @@ const DetailedProjectView: React.FC = () => {
74
{
75
<MarkdownRenderedComponent
76
content={
77
- projectRawData[3].length > 4
+ projectRawData[3]?.length > 4
78
? projectRawData[3]
79
: 'No instructions for this project.'
80
}
0 commit comments