Repository navigation
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
Co-authored-by: thalescb <8635591+thalescb@users.noreply.github.com>
|
@copilot On this same branch, also fix the remaining root lint failure in apps/ai-credits-web/src/App.tsx. depositBonusPercent and streamBonusPercent (line 327) have been unused since the bonus text was removed from the landing page in #208/#210, and 32e0270 removed their last use. Remove the useDiscountConfig call in LandingPage, the useDiscountConfig function, and the imports that become unused: createBackendClient, DEFAULT_DISCOUNT_CONFIG, DiscountConfig, useEffect and useState. No other changes, no new PR. Then run the root lint, paste its full output, and list the files you changed. |
Co-authored-by: thalescb <8635591+thalescb@users.noreply.github.com>
Addressed in e8a5f44 on this branch. Removed the LandingPage call, Changed file in this follow-up:
Targeted lint and root Full root lint output |
|
CI failure here is the Citizen Claim live-RPC test (states.spec.ts:88), unrelated to this diff. It fails on main too and is tracked in #268, with the fix in progress in #269. Same commit passed on a rerun: https://github.com/GoodDollar/GoodWidget/actions/runs/40331593126 |
Root lint fails on main (#270). Two spots:
governance-widget ProfileStepContent.tsx imported ProfileTextAreaField and never used it. Removed.
ai-credits-web App.tsx fetched the discount config on the landing page and never used it (the bonus text was removed in #208/#210, its last use in 32e0270). Removed the fetch, the useDiscountConfig hook and the imports it left unused. No visible change on the page.
Root lint passes: 28/28 tasks, 0 errors (remaining warnings are pre-existing).
Fixes #270