diff --git a/apps/nowait-user/src/api/order.ts b/apps/nowait-user/src/api/order.ts
index b937bf3c..be9528b2 100644
--- a/apps/nowait-user/src/api/order.ts
+++ b/apps/nowait-user/src/api/order.ts
@@ -39,7 +39,7 @@ export const createOrder = async (
};
//주문내역 가져오기
-export const getMyOrderList = async (
+export const getOrderDetails = async (
storeId: string | undefined,
tableId: string
) => {
diff --git a/apps/nowait-user/src/components/EmptyPage.tsx b/apps/nowait-user/src/components/EmptyPage.tsx
new file mode 100644
index 00000000..9cb4bdc6
--- /dev/null
+++ b/apps/nowait-user/src/components/EmptyPage.tsx
@@ -0,0 +1,32 @@
+import { useNavigate, useParams } from "react-router-dom";
+import { SmallActionButton } from "./SmallActionButton";
+import Add from "../assets/icon/Add.svg?react";
+
+interface PropsType {
+ mode: "default" | "orderDetails";
+ title: string;
+ buttonText: string;
+}
+
+const EmptyPage = ({ mode, title, buttonText }: PropsType) => {
+ const navigate = useNavigate();
+ const { storeId } = useParams();
+ return (
+
+
+ {title}
+
+
navigate(`/${storeId}`)}
+ >
+ {buttonText}
+
+
+
+ );
+};
+
+export default EmptyPage;
diff --git a/apps/nowait-user/src/components/SmallActionButton.tsx b/apps/nowait-user/src/components/SmallActionButton.tsx
index 6c8512b2..4599a81a 100644
--- a/apps/nowait-user/src/components/SmallActionButton.tsx
+++ b/apps/nowait-user/src/components/SmallActionButton.tsx
@@ -1,4 +1,5 @@
interface PropsType {
+ mode? : "default" | "orderDetails"
type?: "button" | "submit" | "reset";
ariaLabel: string;
children: React.ReactNode;
@@ -6,6 +7,7 @@ interface PropsType {
className?: string;
}
export const SmallActionButton = ({
+ mode = "default",
type = "button",
children,
onClick,
@@ -16,7 +18,7 @@ export const SmallActionButton = ({