Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #266
Description
This fixes #266 UI bug at footer by showing empty string instead of undefined in footer
![Screenshot from 2023-08-13 21-20-00](https://private-user-images.githubusercontent.com/100865986/260317333-3864a04b-79ea-440c-b729-60ba69aa4028.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODg3MzIsIm5iZiI6MTczOTM4ODQzMiwicGF0aCI6Ii8xMDA4NjU5ODYvMjYwMzE3MzMzLTM4NjRhMDRiLTc5ZWEtNDQwYy1iNzI5LTYwYmE2OWFhNDAyOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxOTI3MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMmQ0ZGE4OGZlMWM1YWVmYmQ3NTYwN2MxOWJkNWU3NjQ0OTZjMGZkMTM0ZTEwZTAxNWJmODJlZTAyYjQwY2Y0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.n7jMFV9at_FUpJiKSNvyK3LaaiJvUmDO5BX6jM2ZL7U)
Changes
I've changed index file in Footer to conditionally check if value is undefined then show empty string instead of undefined else show the commit hash by appending # with commit
![Screenshot from 2023-08-13 21-20-16](https://private-user-images.githubusercontent.com/100865986/260317600-6e6686be-e9d6-42df-bddd-453c16ddf753.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODg3MzIsIm5iZiI6MTczOTM4ODQzMiwicGF0aCI6Ii8xMDA4NjU5ODYvMjYwMzE3NjAwLTZlNjY4NmJlLWU5ZDYtNDJkZi1iZGRkLTQ1M2MxNmRkZjc1My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxOTI3MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yOWRjNGRkYzU0ZmUzYzNhNzBhYTlhNzMzZTNiMTRlMWU4ZmQyNWM4ZmRlOTNlY2EzYzk1MTdjMmVkM2U4ODk5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.7gKMNKckxdcTs3_U694Xu-xGP69Ca4KLhqeiTHEnRFQ)
How to test
to test just use yarn start and look at the footer