Skip to content

Commit

Permalink
refactor : 상수화 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
guesung committed Jul 7, 2023
1 parent 5d4051d commit 6549b19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/grouping/create-meeting/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import TimeSwipePicker from '@/components/common/SwipePicker/TimeSwipePicker';
import { useModal } from '@/hooks/useModal';

import type { ImageType, TimeType } from '@/@types/global';

type ModalTabType = {
title: string;
snap: number;
Expand Down Expand Up @@ -43,7 +44,7 @@ interface SelectValue {
number: number;
}

const TEXT_AREA_COUNT = 0;
const TEXT_AREA_COUNT = 30;

export default function CreateMeeting() {
const imgRef = useRef<HTMLInputElement | null>(null);
Expand Down Expand Up @@ -126,7 +127,7 @@ export default function CreateMeeting() {
<section>
<div className="flex justify-between">
<div className="font-500 mb-5 text-14">활동 소개글</div>
<div className="font-500 text-12 text-gray2">${TEXT_AREA_COUNT}/30</div>
<div className="font-500 text-12 text-gray2">0/${TEXT_AREA_COUNT}</div>
</div>
<TextArea placeholder="내용을 입력해주세요." />
</section>
Expand Down

0 comments on commit 6549b19

Please sign in to comment.