Skip to content

Commit

Permalink
fix: 타입 지정 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcjy committed Sep 18, 2024
1 parent a2ee78a commit 91cdb06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/LovelyCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import Link from 'next/link'
import { useState, useEffect, useMemo } from 'react'
import { ChevronLeft, ChevronRight, Heart } from 'lucide-react'
import { allBibles } from 'contentlayer/generated'
import { Month } from './calendar/types'

export const LovelyCalendar = () => {
const [currentDate, setCurrentDate] = useState(new Date())
const [calendar, setCalendar] = useState([])
const [calendar, setCalendar] = useState<Month>([])

const today = useMemo(() => new Date(), [])

Expand Down

0 comments on commit 91cdb06

Please sign in to comment.