diff --git a/src/AsyncButton.tsx b/src/AsyncButton.tsx index 44180d1..42bf7a3 100644 --- a/src/AsyncButton.tsx +++ b/src/AsyncButton.tsx @@ -1,3 +1,5 @@ +'use client'; + import React, { useCallback, useEffect, useRef, useState } from 'react'; import PropTypes from 'prop-types'; import makeCancellable from 'make-cancellable-promise';