Skip to content

Commit

Permalink
Merge pull request #318 from Team-Blitz-Steady/fix/#317/project-QA
Browse files Browse the repository at this point in the history
🚨 Fix(#317): 템플릿 및 내 신청서 페이지 QA
  • Loading branch information
JeongWuk authored Dec 3, 2023
2 parents b477f16 + cb4e096 commit 1bcd7b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/(user-menu)/mypage/application/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import deleteApplication from "@/services/application/deleteApplication";
import Icon from "@/components/_common/Icon";
import DeleteModal from "@/components/_common/Modal/DeleteModal";
import useApplicationListQuery from "@/hooks/query/useApplicationListQuery";
import formattedCreatedAt from "@/utils/formattedCreatedAt";

const MyApplicationPage = () => {
const [isModalOpen, setIsModalOpen] = useState(false);
Expand Down Expand Up @@ -94,7 +95,8 @@ const MyApplicationPage = () => {
</div>
<div className="group flex">
<div className="transform text-10 font-bold text-st-gray-100 transition group-hover:-translate-x-[15px] lg:text-15 lg:group-hover:-translate-x-[30px]">
제출일 {application.createdAt.slice(0, 10)}
제출일{" "}
{formattedCreatedAt(application.createdAt, "yyyy-MM-dd")}
</div>
<div
onClick={(event) => {
Expand Down
3 changes: 2 additions & 1 deletion src/app/(user-menu)/mypage/template/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import getTemplates from "@/services/template/getTemplates";
import Button, { buttonSize } from "@/components/_common/Button";
import Icon from "@/components/_common/Icon";
import DeleteModal from "@/components/_common/Modal/DeleteModal";
import formattedCreatedAt from "@/utils/formattedCreatedAt";
import { TemplatesKey } from "@/constants/queryKeys";

const MyTemplatePage = () => {
Expand Down Expand Up @@ -64,7 +65,7 @@ const MyTemplatePage = () => {
</div>
<div className="group flex">
<div className="transform text-10 font-bold text-st-gray-100 transition group-hover:-translate-x-[15px] lg:text-15 lg:group-hover:-translate-x-[30px]">
생성일 {template.createdAt.slice(0, 10)}
생성일 {formattedCreatedAt(template.createdAt, "yyyy-MM-dd")}
</div>
<div
onClick={(event) => {
Expand Down

0 comments on commit 1bcd7b1

Please sign in to comment.