UNPKG

@rollbar/react

Version:

Effortlessly track and debug errors in your React applications with Rollbar. This package includes advanced error tracking features and a set of React-specific enhancements to help you identify and fix issues more quickly.

12 lines (9 loc) 282 B
"use client"; import { useContext } from 'react'; import { Context, getRollbarFromContext } from './Provider.js'; function useRollbar() { var context = useContext(Context); return getRollbarFromContext(context); } export { useRollbar }; //# sourceMappingURL=useRollbar.js.map