mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-10-31 01:56:28 +01: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