Expunge Assist is a free digital tool specifically designed to aid Californians with arrest and conviction histories in clearing their criminal records.
The current implementation of the Logo component used in the header & footer separates the logic for text and image logos. There's separate conditional rendering for each. This can lead to potential inconsistencies and make maintenance more difficult.
Action Items
[ ] Refactor the Logo component to accept a type prop ('text' or 'image') and render the appropriate logo(s) based on the prop value.
[ ] Update the code to combine the logic for rendering text and image logos into a single conditional statement.
Overview
The current implementation of the Logo component used in the header & footer separates the logic for text and image logos. There's separate conditional rendering for each. This can lead to potential inconsistencies and make maintenance more difficult.
Action Items