Commit b5e02a4
committed
[TOOl-3590] Dashboard: Remove unused components and stories (#6406)
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on removing unused components and simplifying the `CouponCard` functionality by streamlining the handling of coupon applications and eliminating the modal for sharing free wallets.
### Detailed summary
- Deleted multiple files related to `share-free-wallets-modal` and analytics components.
- Removed the dynamic import of `LazyShareFreeWalletsModal` in `CouponCard.tsx`.
- Simplified the `onCouponApplied` function signature by removing the `isFreeWalletsCoupon` parameter.
- Eliminated state management for `showShareModal` in `CouponSection`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent cb71dd5 commit b5e02a4
File tree
13 files changed
+4
-1726
lines changed- apps/dashboard/src
- app/team/[team_slug]/[project_slug]/connect/analytics
- _components
- components/settings/Account/Billing
- lib
13 files changed
+4
-1726
lines changedLines changed: 0 additions & 164 deletions
This file was deleted.
Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 0 additions & 70 deletions
This file was deleted.
0 commit comments