Fix custom baseline MTR charts #631
Analysis complete
Summary
Updated MarginalTaxRatesChart
to use policy data from usePolicyEngine
hook. This enables the chart to show how the baseline policy affects marginal tax rates.
Walkthrough
- Pass baseline policy data to
MarginalTaxRatesChart
component as a prop (link) - Remove empty line for code readability (link)
Poem
We use the
usePolicyEngine
hook
To unleash the power of thepolicy
prop
We calculate the marginal tax rates
And chart the doom of the wealthy fates
Emoji
🎣📊📋
Include these descriptions in your pull request description by including the following marker tags:
copilot:all
: all the content, in one gocopilot:summary
: a one paragraph summary of the code changescopilot:walkthrough
: a step by step walkthrough of the code changescopilot:poem
: a poem about the code changes!copilot:emoji
: three emoji that capture the changes
Feedback is welcome. Simply add a comment to this PR of the form /copilot feedback [your comments here]
.
Details
Copilot for PRs is a limited technical preview from GitHub Next.
It's aim is to make it easier to write pull request descriptions by providing automatically generated suggestions based on the code changes.
To find out more go to https://githubnext.com/projects/copilot-for-pull-requests or come and chat with us on Discord
File | Status | Duration |
---|---|---|
Summary & Walkthrough | ✅ Finished | 18.3 seconds |
src/pages/household/output/MarginalTaxRates.jsx | ✅ Finished | 10.4 seconds |