Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/nowait-user/src/api/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const createOrder = async (
tableId: number,
payload: OrderType
): Promise<CreateOrderServerResponse> => {
const res = await api.post(`${API_URI}/orders/create/${storeId}/${tableId}`, payload);
const res = await axios.post(`/orders/create/${storeId}/${tableId}`, payload);
return res.data;
};

Expand All @@ -28,7 +28,7 @@ export const getOrderDetails = async (
storeId: number | undefined,
tableId: number
): Promise<OrderDetailsServerResponse> => {
const res = await api.get(`/orders/items/${storeId}/${tableId}`);
const res = await axios.get(`/orders/items/${storeId}/${tableId}`);
return res.data;
};

Expand Down
2 changes: 1 addition & 1 deletion apps/nowait-user/src/components/SmallActionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const SmallActionButton = ({
<button
type={type}
aria-label={ariaLabel}
className={`${className} py-2 px-4 rounded-[12px] border-1 bg-white ${mode==="default" ? "border-[#ececec] text-black-70" : "border-[#dddddd] text-black-80"}`}
className={`${className} py-2 px-4 rounded-[12px] border-1 ${mode==="default" ? "border-[#ececec] text-black-70" : "border-[#dddddd] text-black-80"}`}
onClick={onClick}
>
<div className="flex items-center justify-center gap-1 text-[14px] font-bold">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const CartItem = ({ id, name, originPrice, price, quantity }: PropsType) => {
<div className="w-full p-5">
<div className="flex justify-between items-start">
<div className="max-w-[12.5rem]">
<h1 className="text-title-18-medium text-ellipsis line-clamp-2">
<h1 className="text-title-18-semibold text-black-90 text-ellipsis line-clamp-2">
{name}
</h1>
<h2 className="text-title-18-bold">
<h2 className="text-title-18-bold text-black-90">
{originPrice.toLocaleString()}원
</h2>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const StoreNoticePage = () => {
<BackHeader title="공지사항" />
<section className="px-5 py-[30px] mt-[38px]">
<h1 className="text-title-18-bold text-black-90 mb-4">{title}</h1>
<p className="text-16-regular text-black-80 break-keep">{content}</p>
<p dangerouslySetInnerHTML={{ __html: content }} className="text-16-regular text-black-80 break-keep"></p>
</section>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/nowait-user/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"source": "/orders/:path*",
"destination": "https://nowait.co.kr/orders/:path*"
"destination": "https://nowait.co.kr/:path*"
},
{ "source": "/(.*)", "destination": "/index.html" }
],
Expand Down