Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix]: 빌드 에러 수정 #249

Merged
merged 11 commits into from
Nov 30, 2023
7 changes: 6 additions & 1 deletion src/components/common/scheduleBox/ScheduleBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ const ScheduleBox = ({
<div className={'relative w-full h-full flex-col'} {...props}>
<div className={'flex justify-between grow-4'}>
{mainTitle.length > 15 ? (
<div className={'body-16'}>{mainTitle}</div>
<div
className={
'body-16 text-ellipsis truncate overflow-hidden w-[230px]'
}>
{mainTitle}
</div>
) : (
<div className={'subHead-18'}>{mainTitle}</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/slider/Slider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const meta: Meta<typeof Silder> = {
render: function Render() {
return (
<div className={'w-full h-full'}>
<Silder onChange={() => console.log('')} />
<Silder onChange={() => console.log('슬라이드')} />
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/slider/Slider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from 'react'

const Silder = ({ onChange }: { onChange: () => void }) => {
const Silder = () => {
const [value, setValue] = useState(0)
const parseAcademyFee = (value: number) => {
switch (value) {
Expand Down
1 change: 0 additions & 1 deletion src/pages/academy/AcademyDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useAtom } from 'jotai'
import SettingPage from '../setting/SettingPage'
import Loading from '@/components/Loading/Loading'
import SelectMyChild from '@/components/academy/SelectMyChlid'
import Button from '@/components/common/button/Button'
import Icon from '@/components/common/icon/Icon'
import Label from '@/components/common/label/Label'
import ScheduleBox from '@/components/common/scheduleBox/ScheduleBox'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/academy/academyDetail/AcademyDetailClass.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AcademyDetailClass = ({ data }: { data: GetAllDashBoardResponse }) => {
<h3 className={'subHead-18'}>{'우리 아이 반 정보'}</h3>
<Spacing size={7} />
<Accordion
title={data.lessonInfo.subject}
title={data.lessonInfo.curriculum}
contentHeight={200}
rightElement={<Icon icon={'ArrowDown'} />}
content={
Expand Down
Loading