From ffff9ec1e63996bd5b3c739b6239b6477b651a31 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 21 Jul 2023 15:12:29 +0200 Subject: [PATCH] Implement RSC support --- src/Calendar.tsx | 2 ++ src/Calendar/Navigation.tsx | 2 ++ 2 files changed, 4 insertions(+) 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';