This repository was archived by the owner on Apr 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from pcweb .pages .pricing .faq import faq
99from pcweb .pages .pricing .calculator import calculator_section
1010from pcweb .meta .meta import hosting_meta_tags
11- from pcweb .pages .pricing .slider_calculator import slider_calculator
11+ from pcweb .pages .pricing .slider_calculator import slider_calculator , MachineState
1212
1313pricing_path = "/pricing"
1414
1515
16- @rx .page (route = pricing_path , title = "Reflex · Pricing" , meta = hosting_meta_tags )
16+ @rx .page (
17+ route = pricing_path ,
18+ title = "Reflex · Pricing" ,
19+ meta = hosting_meta_tags ,
20+ on_load = MachineState .reset_machines ,
21+ )
1722def pricing () -> rx .Component :
1823 """Get the Pricing landing page."""
1924 from pcweb .components .docpage .navbar import navbar
Original file line number Diff line number Diff line change @@ -467,6 +467,5 @@ def slider_calculator() -> rx.Component:
467467 total_credits_card (),
468468 class_name = "flex lg:flex-row flex-col lg:gap-10 gap-6 w-full px-6 h-full" ,
469469 ),
470- on_mount = [MachineState .reset_machines , MachineState .on_load ],
471470 class_name = "flex flex-col w-full max-w-[64.19rem] border-t-0 2xl:border-x divide-y divide-slate-4 2xl:border-b pt-[6rem] justify-center items-center" ,
472471 )
You can’t perform that action at this time.
0 commit comments