c0mrade
5e221d471e
refactor(subscription): extract DeviceTopupSheet from god page
...
Move the buy-devices sheet (190 lines of inline JSX + its useQuery +
useMutation) into src/components/subscription/sheets/DeviceTopupSheet.tsx.
Parent passes shared state (purchaseOptions, devicesToAdd, ids); the
sheet self-owns the device-price query and purchase mutation, so the
query only fires when the sheet is actually open.
Subscription.tsx: 2671 → 2477 lines (−194).
2026-05-26 22:12:03 +03:00
..
2026-05-26 21:52:56 +03:00
2026-05-26 15:18:21 +03:00
2026-03-13 20:19:09 +03:00
2026-05-26 11:19:49 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 11:25:27 +03:00
2026-05-26 12:06:15 +03:00
2026-05-26 21:56:13 +03:00
2026-02-27 08:27:07 +03:00
2026-03-10 15:58:02 +05:00
2026-05-26 21:52:56 +03:00
2026-02-06 16:55:55 +03:00
2026-05-26 21:52:56 +03:00
2026-03-25 11:47:41 +03:00
2026-03-02 20:34:24 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 11:08:22 +03:00
2026-03-18 17:59:12 +03:00
2026-05-26 22:12:03 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 21:52:56 +03:00
2026-02-06 16:55:55 +03:00
2026-02-17 06:44:10 +03:00
2026-05-25 23:43:17 +03:00
2026-05-25 23:16:07 +03:00
2026-02-06 16:55:55 +03:00
2026-05-26 15:15:26 +03:00
2026-03-04 15:02:08 +03:00
2026-05-25 23:51:26 +03:00
2026-05-04 20:16:01 +03:00
2026-05-26 11:22:19 +03:00
2026-05-26 21:52:56 +03:00
2026-03-04 15:46:53 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 11:26:47 +03:00
2026-03-20 05:02:47 +03:00
2026-05-26 19:17:39 +03:00
2026-03-24 14:01:55 +03:00
2026-03-23 18:57:05 +03:00