Update react-query and lucide-react dependencies and improve lockfile version
This commit updates '@tanstack/react-query' from '5.32.0' to '5.35.1' and 'lucide-react' from '^0.376.0' to '^0.378.0' in package.json. Additionally, changes were made in pnpm-lock.yaml including updating the lockfile version from '9.0' to '6.0'.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import { useEffect } from 'react';
|
||||
|
||||
import { useMonitoring } from './use-monitoring';
|
||||
|
||||
export function useCaptureException(error: Error) {
|
||||
const service = useMonitoring();
|
||||
|
||||
return service.captureException(error);
|
||||
useEffect(() => {
|
||||
void service.captureException(error);
|
||||
}, [error, service]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user