AItool commited on
Commit
e063967
·
verified ·
1 Parent(s): 21a2208

Update testnavbar.py

Browse files
Files changed (1) hide show
  1. testnavbar.py +3 -3
testnavbar.py CHANGED
@@ -135,8 +135,8 @@ def product_detail(product_name: str):
135
  LabelInput("Quantity", id='quantity'),
136
  Div(PaymentMethod, cls='space-y-4'),
137
  # ButtonT.primary because this is the primary action of the page!
138
- Button("Add to cart", cls=(ButtonT.primary, "w-full mt-4"),
139
- Button("Back to Store", cls=(ButtonT.primary, "w-full mt-4"))
140
  )
141
  ),
142
  # Grid has defaults and args for cols at different breakpoints, but you can pass in
@@ -146,4 +146,4 @@ def product_detail(product_name: str):
146
  )
147
  )
148
 
149
- serve()
 
135
  LabelInput("Quantity", id='quantity'),
136
  Div(PaymentMethod, cls='space-y-4'),
137
  # ButtonT.primary because this is the primary action of the page!
138
+ Button("Add to cart", cls=(ButtonT.primary, "w-full mt-4")),
139
+ Button("Back to Store", cls=(ButtonT.secondary, "w-full mt-2"))
140
  )
141
  ),
142
  # Grid has defaults and args for cols at different breakpoints, but you can pass in
 
146
  )
147
  )
148
 
149
+ serve()