Remove dangling debuggers

This commit is contained in:
Aria Minaei 2023-08-03 11:44:54 +02:00
parent e05b724742
commit 01ccbb3d92
3 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,6 @@ export function usePrismInstance<T>(der: Prism<T>, debugLabel?: string): T {
if (process.env.NODE_ENV !== 'production') {
if (der !== ref.current.der) {
debugger
console.error(
'Argument `der` in `usePrismInstance(der)` should not change between renders.',
)