diff --git a/src/components/layout/frame/frame.tsx b/src/components/layout/frame/frame.tsx index 5c7d5f1..65670e2 100644 --- a/src/components/layout/frame/frame.tsx +++ b/src/components/layout/frame/frame.tsx @@ -13,7 +13,7 @@ const Frame = ({ title, content, buttonText, href }: FrameProps) => { return ( <> -

{title}

+

{title}

{content}

diff --git a/src/components/ui/table/Table.tsx b/src/components/ui/table/Table.tsx index c0a3a61..37d562a 100644 --- a/src/components/ui/table/Table.tsx +++ b/src/components/ui/table/Table.tsx @@ -33,13 +33,11 @@ export default function Table({ noticeId, }: TableProps) { return ( -
-
-

- {userRole === 'employer' ? '신청자 목록' : '신청 내역'} -

-
-
+ <> +

+ {userRole === 'employer' ? '신청자 목록' : '신청 내역'} +

+
@@ -48,7 +46,7 @@ export default function Table({
0 && index < headers.length - 1 && 'w-[245px]', @@ -76,10 +74,12 @@ export default function Table({
-
- -
+ {offset >= 2 && ( +
+ +
+ )}
-
+ ); } diff --git a/src/pages/employer/shops/[shopId]/notices/[noticeId]/edit.tsx b/src/pages/employer/shops/[shopId]/notices/[noticeId]/edit.tsx index 2d0c694..8746d63 100644 --- a/src/pages/employer/shops/[shopId]/notices/[noticeId]/edit.tsx +++ b/src/pages/employer/shops/[shopId]/notices/[noticeId]/edit.tsx @@ -1,4 +1,4 @@ -import { Container, Wrapper } from '@/components/layout'; +import { Container } from '@/components/layout'; import { Button, DateInput, Input, Modal, TimeInput } from '@/components/ui'; import useAuth from '@/hooks/useAuth'; import axiosInstance from '@/lib/axios'; @@ -98,82 +98,80 @@ const EmployerNoticeEditPage = () => { if (!user?.shop) return null; return ( - - -

공고 편집

- -
-
- setWage(e.currentTarget.value.replace(/\D+/g, ''))} - /> - - setWorkhour(Number(e.currentTarget.value))} - /> - - - setDate(selectedDate instanceof Date ? selectedDate : new Date(selectedDate)) - } - /> - - -
- -
- -