Skip to content

Commit

Permalink
chore(example): update latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeYeopHan committed Jan 2, 2021
1 parent 2ddeafe commit 1c55452
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/local/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import useCalendar from '../../../../src'
import { Container } from '../components/Container'

export default function Example() {
const { calendar, headers, body, navigation, view } = useCalendar()
const { cursorDate, headers, body, navigation, view } = useCalendar()

return (
<Container height="100vh">
Expand Down Expand Up @@ -68,9 +68,7 @@ export default function Example() {
D
</Button>
</Stack>
<Text fontSize="2xl">
{format(calendar.cursorDate, 'yyyy. MM')}
</Text>
<Text fontSize="2xl">{format(cursorDate, 'yyyy. MM')}</Text>
<Stack direction="row" gutter={8}>
<IconButton
aria-label="prev-button"
Expand Down

0 comments on commit 1c55452

Please sign in to comment.