Skip to content

Commit a4192c5

Browse files
authored
Merge branch 'main' into prettier
2 parents e6287db + 3cdd6a6 commit a4192c5

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

public/posts/pull_request_tutorial_for_beginners.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -93,27 +93,6 @@ git pull origin main
9393
git branch -d feature-branch-name
9494
```
9595

96-
```javascript
97-
useEffect(() => {
98-
const fetchDocs = async () => {
99-
try {
100-
const response = await fetch("/posts/index.json");
101-
if (!response.ok) {
102-
throw new Error("Network response was not ok");
103-
}
104-
const data = await response.json();
105-
setDocs(data);
106-
} catch (error) {
107-
setError(error.message);
108-
} finally {
109-
setLoading(false);
110-
}
111-
};
112-
113-
fetchDocs();
114-
}, []);
115-
```
116-
11796
You may also delete the branch from your fork on GitHub.
11897

11998
Congratulations! You've successfully created and merged a pull request. This process helps maintain code quality and encourages collaboration among developers.

0 commit comments

Comments
 (0)