From f4c67d96127f760ee410462586515f05e1869321 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 21 Jul 2023 15:39:56 +0200 Subject: [PATCH] Implement RSC support --- src/DateTimeRangePicker.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DateTimeRangePicker.tsx b/src/DateTimeRangePicker.tsx index a2d0fd7..a62a6c8 100644 --- a/src/DateTimeRangePicker.tsx +++ b/src/DateTimeRangePicker.tsx @@ -1,3 +1,5 @@ +'use client'; + import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { createPortal } from 'react-dom'; import PropTypes from 'prop-types';