diff --git a/package.json b/package.json index 47ae3e8..a7b57e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boonya/react-toaster", - "version": "1.0.0-canary.0", + "version": "1.0.0-canary.1", "description": "Simple and lightweight react library to show stackable toasts.", "keywords": [ "notification", diff --git a/src/index.tsx b/src/index.tsx index 015a6f7..c4bd3aa 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,5 @@ +'use client'; + import useStack from './useStack'; import {PropsWithChildren} from 'react'; import Portal from './Portal';