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-02-27 04:02:27 +03:00
2026-02-06 16:55:55 +03:00
2026-05-26 15:27:03 +03:00
2026-05-26 21:52:56 +03:00
2026-05-04 06:18:12 +03:00
2026-05-26 11:24:28 +03:00
2026-02-23 17:15:20 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 11:32:32 +03:00
2026-05-26 11:32:32 +03:00
2026-05-26 21:52:56 +03:00
2026-03-02 20:34:24 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 19:11:17 +03:00
2026-05-25 23:16:07 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 13:41:22 +03:00
2026-04-24 15:01:11 +03:00
2026-05-13 04:56:15 +03:00
2026-05-26 13:48:10 +03:00
2026-05-26 21:52:56 +03:00
2026-03-23 15:00:11 +03:00
2026-05-26 00:20:30 +03:00
2026-05-26 19:11:17 +03:00
2026-02-18 06:53:16 +03:00
2026-02-17 10:28:32 +03:00
2026-05-26 11:21:16 +03:00
2026-02-17 10:28:32 +03:00
2026-02-27 04:08:15 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 00:03:17 +03:00
2026-03-13 17:50:49 +03:00
2026-05-26 11:10:50 +03:00
2026-05-26 10:39:22 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 10:37:01 +03:00
2026-05-25 23:16:07 +03:00
2026-02-06 16:55:55 +03:00
2026-05-26 10:39:22 +03:00
2026-05-26 21:52:56 +03:00
2026-02-06 16:55:55 +03:00
2026-05-26 11:28:37 +03:00
2026-05-26 10:45:29 +03:00
2026-05-16 01:11:00 +03:00
2026-05-16 01:11:00 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 11:24:28 +03:00
2026-05-26 15:24:01 +03:00
2026-05-16 01:11:00 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 10:48:46 +03:00
2026-03-13 20:19:09 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 15:49:07 +03:00
2026-05-26 11:10:50 +03:00
2026-05-26 18:39:08 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 15:24:01 +03:00
2026-02-27 04:02:27 +03:00
2026-02-17 10:28:32 +03:00
2026-05-26 11:21:16 +03:00
2026-03-06 21:59:59 +03:00
2026-04-08 18:33:47 +03:00
2026-05-26 15:24:01 +03:00
2026-04-15 14:04:39 +03:00
2026-03-25 11:47:31 +03:00
2026-05-26 21:52:56 +03:00
2026-05-15 05:34:38 +03:00
2026-05-25 23:16:07 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 11:22:19 +03:00
2026-04-24 15:07:11 +03:00
2026-04-24 14:10:28 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 15:24:01 +03:00
2026-03-04 16:05:24 +03:00
2026-03-29 05:18:40 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 13:58:33 +03:00
2026-04-29 09:17:52 +03:00
2026-05-26 11:08:22 +03:00
2026-05-25 23:16:07 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 15:24:01 +03:00
2026-05-26 11:09:28 +03:00
2026-05-26 15:37:59 +03:00
2026-03-10 15:58:02 +05:00
2026-05-26 22:12:03 +03:00
2026-05-26 20:20:05 +03:00
2026-05-13 05:31:22 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 16:13:33 +03:00
2026-05-26 16:13:33 +03:00
2026-02-07 03:36:25 +03:00
2026-03-23 18:57:05 +03:00
2026-05-26 21:52:56 +03:00
2026-05-26 11:08:22 +03:00