diff --git a/src/Calendar.tsx b/src/Calendar.tsx index 39db6719..9bb37899 100644 --- a/src/Calendar.tsx +++ b/src/Calendar.tsx @@ -1,3 +1,5 @@ +'use client'; + import React, { forwardRef, useCallback, useImperativeHandle, useState } from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; diff --git a/src/Calendar/Navigation.tsx b/src/Calendar/Navigation.tsx index e57807fd..00493530 100644 --- a/src/Calendar/Navigation.tsx +++ b/src/Calendar/Navigation.tsx @@ -1,3 +1,5 @@ +'use client'; + import React from 'react'; import PropTypes from 'prop-types'; import { getUserLocale } from 'get-user-locale';