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

Remove static props and fix layout #578

Merged
merged 10 commits into from
Sep 12, 2023

Conversation

kelvinkipruto
Copy link
Contributor

Description

This PR removes static props used previously and fixes page layouts.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@kelvinkipruto kelvinkipruto changed the base branch from main to develop September 11, 2023 13:00
@kilemensi
Copy link
Member

Why are you pinging me to review a page that's still in draft @kelvinkipruto ?

@github-actions
Copy link
Contributor

Latest updated Preview URL

Name Review
codeforafrica-ui-pr-578 Visit

@kelvinkipruto kelvinkipruto marked this pull request as ready for review September 11, 2023 13:13
@kelvinkipruto
Copy link
Contributor Author

@kilemensi Sorry. It's now ready.

Copy link
Member

@kilemensi kilemensi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽


I'm a bit lost: Why does lib/data/local use api from lib/data/rest? My understanding is lib/data/local should be using local payload while lib/data/rest should be using REST APIs.

At least this is how code is structured in app/charterafrica. What has channged?

@kilemensi kilemensi added the chore A task that needs to be done (neither enhancement or bug) label Sep 11, 2023
Comment on lines 8 to 9
// eslint-disable-next-line react/jsx-no-useless-fragment
<>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we don't need a div or <>. What happens when you remove them completely?

@kelvinkipruto kelvinkipruto merged commit e1c4a6a into develop Sep 12, 2023
@kelvinkipruto kelvinkipruto deleted the ft/codeforafrica-remove-staticprops branch September 12, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A task that needs to be done (neither enhancement or bug)
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants