diff --git a/public/posts/pull_request_tutorial_for_beginners.md b/public/posts/pull_request_tutorial_for_beginners.md index 5d9404e..9a0d9d4 100644 --- a/public/posts/pull_request_tutorial_for_beginners.md +++ b/public/posts/pull_request_tutorial_for_beginners.md @@ -93,32 +93,11 @@ git checkout main git pull origin main git branch -d feature-branch-name ``` -```javascript - - useEffect(() => { - const fetchDocs = async () => { - try { - const response = await fetch('/posts/index.json'); - if (!response.ok) { - throw new Error('Network response was not ok'); - } - const data = await response.json(); - setDocs(data); - } catch (error) { - setError(error.message); - } finally { - setLoading(false); - } - }; - - fetchDocs(); - }, []); -``` You may also delete the branch from your fork on GitHub. Congratulations! You've successfully created and merged a pull request. This process helps maintain code quality and encourages collaboration among developers. This tutorial covers the basics of creating a pull request and includes best practices to help beginners understand the process. -> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib) \ No newline at end of file +> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib)