Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[✨] Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx #3

Open
devnadeemashraf opened this issue Jun 22, 2024 · 0 comments
Labels
enhancement ✨ Improve existing piece of code frontend Client Side good first issue Good for newcomers

Comments

@devnadeemashraf
Copy link
Owner

devnadeemashraf commented Jun 22, 2024

Enhancement ✨

Task

Currently, the file src/pages/Blocks.tsx contains all the code in one place. This issue aims to improve code organization by breaking down its contents and moving it to src/pages/Home/tabs/block.tsx.

Steps to Complete

  1. Identify and separate different logical parts of Blocks.tsx.
  2. Create necessary subcomponents or utilities to organize the code better.
  3. Move the refactored code to src/pages/Home/tabs/block.tsx.
  4. Ensure no functionality is lost during the refactor.

Important Note

  • Do not simply copy the entire file and paste it to the new destination.
  • Focus on improving the modularity and readability of the code.

Additional Context:

  • Make sure to tests to ensure no regressions are introduced.
  • Update any relevant documentation or comments to reflect the changes.
@devnadeemashraf devnadeemashraf added enhancement ✨ Improve existing piece of code good first issue Good for newcomers frontend Client Side labels Jun 22, 2024
@devnadeemashraf devnadeemashraf changed the title Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx [ENHANCEMENT] Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx Jun 22, 2024
@devnadeemashraf devnadeemashraf changed the title [ENHANCEMENT] Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx Jun 22, 2024
@devnadeemashraf devnadeemashraf changed the title Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx [✨] Refactor Blocks.tsx and Move to src/pages/Home/tabs/block.tsx Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Improve existing piece of code frontend Client Side good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant