mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-06 15:33:29 +02:00
useState reduntant call removed, a project replaced
This commit is contained in:
@@ -89,8 +89,6 @@ export default function ProjectsReadme({ repoUrl }) {
|
||||
const base = useMemo(() => getRepoRawBase(repoUrl), [repoUrl]);
|
||||
|
||||
useEffect(() => {
|
||||
setIsLoading(true);
|
||||
|
||||
fetchREADME(repoUrl).then((content) => {
|
||||
setReadmeContent(content);
|
||||
setIsLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user