Skip to content

Commit

Permalink
Fix: vercel build error
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongMin83 committed Jan 17, 2024
1 parent 035fd31 commit 7c822e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/components/Detail/Contents/Information/Information.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import BasicInformation from "./BasicInformation/BasicInformation";
import Others from "./Others/Others";
import ShortReviews from "./ShortReveiws/ShortReviews";

Expand All @@ -6,7 +7,7 @@ import { ContentsInformationProps } from "@/types/detail";
function Information({ onOpen }: ContentsInformationProps) {
return (
<div>
{/* <BasicInformation /> */}
<BasicInformation />
<ShortReviews onOpen={onOpen} />
<Others />
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useState } from "react";
import DatePicker from "react-mobile-datepicker";
import { useRecoilState } from "recoil";

Expand All @@ -21,7 +20,6 @@ interface DateConfig {
function DateScrollPicker({ slideOnClose }: DateScrollPickerProps) {
const [time, setTime] = useRecoilState<Date>(DatePickerState);
const [isValued, setIsValued] = useRecoilState<boolean>(DatePickerIsValued);
const [isOpen, setIsOpen] = useState(false);

const handleCancel = () => {
slideOnClose();
Expand Down Expand Up @@ -57,7 +55,6 @@ function DateScrollPicker({ slideOnClose }: DateScrollPickerProps) {
value={time}
min={new Date(1999, 0, 1)}
max={new Date()}
isOpen={isOpen}
onSelect={handleSelect}
onCancel={handleCancel}
isPopup={false}
Expand Down

0 comments on commit 7c822e2

Please sign in to comment.