take "orderType" from url
This commit is contained in:
@@ -163,11 +163,8 @@ export default function AddressPage() {
|
||||
}}
|
||||
>
|
||||
<Link
|
||||
to={`/${id}/menu?orderType=delivery`}
|
||||
to={`/${id}/menu?orderType=${OrderType.Delivery}`}
|
||||
style={{ width: "100%" }}
|
||||
onClick={() => {
|
||||
localStorage.setItem("orderType", OrderType.Delivery);
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
type="primary"
|
||||
|
||||
Reference in New Issue
Block a user