change url param name to "subdomain"
This commit is contained in:
@@ -14,7 +14,7 @@ import TotalPeopleActions from "./components/TotalPeopleActions";
|
||||
|
||||
export default function SplitBillPage() {
|
||||
const { t } = useTranslation();
|
||||
const { id } = useParams();
|
||||
const { subdomain } = useParams();
|
||||
const { themeName } = useAppSelector((state) => state.theme);
|
||||
|
||||
return (
|
||||
@@ -128,7 +128,7 @@ export default function SplitBillPage() {
|
||||
backgroundColor: themeName === "light" ? "white" : ProBlack2,
|
||||
}}
|
||||
>
|
||||
<Link to={`/${id}/order`} style={{ width: "100%" }}>
|
||||
<Link to={`/${subdomain}/order`} style={{ width: "100%" }}>
|
||||
<Button
|
||||
type="primary"
|
||||
shape="round"
|
||||
|
||||
Reference in New Issue
Block a user