You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/posts/pull_request_tutorial_for_beginners.md
-21Lines changed: 0 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -93,27 +93,6 @@ git pull origin main
93
93
git branch -d feature-branch-name
94
94
```
95
95
96
-
```javascript
97
-
useEffect(() => {
98
-
constfetchDocs=async () => {
99
-
try {
100
-
constresponse=awaitfetch("/posts/index.json");
101
-
if (!response.ok) {
102
-
thrownewError("Network response was not ok");
103
-
}
104
-
constdata=awaitresponse.json();
105
-
setDocs(data);
106
-
} catch (error) {
107
-
setError(error.message);
108
-
} finally {
109
-
setLoading(false);
110
-
}
111
-
};
112
-
113
-
fetchDocs();
114
-
}, []);
115
-
```
116
-
117
96
You may also delete the branch from your fork on GitHub.
118
97
119
98
Congratulations! You've successfully created and merged a pull request. This process helps maintain code quality and encourages collaboration among developers.
0 commit comments