stephin007 / Cowin-Vaccine-Availablity-Checker

CoWIN Vaccination Tracker, Below is the PRODUCTION LINK this is updated at end of each day. To see any latest Updates, please check the documentation
https://cowinvaccinetracker.forcommunity.tech/
MIT License
27 stars 19 forks source link

[FIX] Issue #122 - Responsive UI #147

Open wise-introvert opened 3 years ago

wise-introvert commented 3 years ago

Note: These changes have been made only to the files mentioned ( indirectly ) in the issue. I haven't looked at the other files :sweat_smile:.

Major Changes

Minor Changes

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/stephin007/cowin-vaccine-availablity-checker/2PMBv7X4TkcqxdCDJ9c27yyghShQ
✅ Preview: https://cowin-vaccine-availablity-checker-git-fix-issue-122-stephin007.vercel.app

stephin007 commented 3 years ago

hey @wise-introvert few points:

stephin007 commented 3 years ago

Also, please remove all the unused variables, as this wont let the deployment to happen.

image

wise-introvert commented 3 years ago

@stephin007

wise-introvert commented 3 years ago

Also, please remove all the unused variables, as this wont let the deployment to happen.

image

@stephin007 Is there any way you can disable the react-hooks warnings? Adding state methods to useEffect dependency array will result in an indefinite loop, crashing the application.

Justinnn07 commented 3 years ago

Also, please remove all the unused variables, as this wont let the deployment to happen. image

@stephin007 Is there any way you can disable the react-hooks warnings? Adding state methods to useEffect dependency array will result in an indefinite loop, crashing the application.

@wise-introvert we can just paste // eslint-disable before the line where the warning is shown ..

and please resolve the conflicts!

stephin007 commented 3 years ago

@wise-introvert can you add the latest changes done in the new-ui branch!

These are some changes which i saw on UI, i am reviewing the rest of changes!

wise-introvert commented 3 years ago

Okay, I'll sync this, feature branch with the NEW-UI branch

stephin007 commented 3 years ago

Hey @wise-introvert , Regarding point 4 : i know about spread operator :P , i was asking about the word rest here , was this declared somewhere or does it just mean to send all the rest of the props? Can we some different words like "other" as it was given in the article.

wise-introvert commented 3 years ago

rest is like "i" and "j" are to for loop. It's what's usually used to denote "rest" of the props a component can receive. It can easily be changed though 😀

stephin007 commented 3 years ago

No No @wise-introvert , dont change just wanted to understand that! :)

stephin007 commented 3 years ago

hey @wise-introvert i hope you will be fixing the conflicts so that we merge to NEW-UI

wise-introvert commented 3 years ago

Definitely. Sorry for the delay

stephin007 commented 3 years ago

Awesome @wise-introvert , i have mentioned you in some comments it would be great if you could address it as well.