Closed ufumerfarooq67 closed 3 months ago
The changes involve updating variable names for Google client IDs, reformatting and adding error handling in account creation and login screens, improving search functionality with a utility function, and refining code formatting. These adjustments enhance maintainability, error management, and search accuracy in the enatega-multivendor-app
.
File | Change Summary |
---|---|
environment.js |
Updated variable names for Google client IDs from iosClientIdGoogle and androidClientIdGoogle to iOSClientID and androidClientID . |
CreateAccount.js , useCreateAccount.js |
Adjusted code structure, added error handling for Google sign-in, and restructured the sign-in logic. |
Home.js , Main.js , OldMain.js , Menu.js , Restaurant.js |
Introduced escapeRegExp function to escape special characters in search text before using it in regular expressions. |
Login/useLogin.js |
Changed the password state initialization, adjusted formatting, and restructured Expo push notifications handling. |
SelectLocation/AddNewAddress.js |
Fixed spacing in destructuring assignments and adjusted code formatting. |
utils/regex.js |
Added a new exported function escapeRegExp to handle special characters in strings. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Name | Link |
---|---|
Latest commit | d91d629aabbe6b019b0ad0f1425c58537dbbea88 |
Latest deploy log | https://app.netlify.com/sites/polite-fairy-234917/deploys/6694b9b13e6a2a00081d347e |
Deploy Preview | https://deploy-preview-624--polite-fairy-234917.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | d91d629aabbe6b019b0ad0f1425c58537dbbea88 |
Latest deploy log | https://app.netlify.com/sites/cheery-zabaione-34f12e/deploys/6694b9b1113247000819fdaf |
Deploy Preview | https://deploy-preview-624--cheery-zabaione-34f12e.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.