Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

ref doesn't exist #51

Open
delicioushwan opened this issue Apr 14, 2021 · 1 comment
Open

ref doesn't exist #51

delicioushwan opened this issue Apr 14, 2021 · 1 comment

Comments

@delicioushwan
Copy link

Version

"@toast-ui/react-calendar": "^1.0.5",

Test Environment

chrome mac catalina

Current Behavior

nextjs 10 에서 "@toast-ui/react-calendar": "^1.0.5", 를 이용하는데 window is not defined라는 에러가 발생해서

와같이 시도를 하면 달력은 생성되나 ref로 method을 받아올수가 없습니다. console로 확인해보면 아래와같은 값만 확인됩니다.
스크린샷 2021-04-14 오후 2 44 39

@approached
Copy link

This solution work great #39 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants