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

@ -28,6 +28,8 @@ module.exports = {
rules: { rules: {
'unused-imports/no-unused-imports': 'warn', 'unused-imports/no-unused-imports': 'warn',
'tsdoc/syntax': 'warn', 'tsdoc/syntax': 'warn',
'no-debugger': 'error',
'no-restricted-imports': [ 'no-restricted-imports': [
'error', 'error',
{ {

View file

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

View file

@ -90,7 +90,6 @@ describe(`SheetObjectTemplate`, () => {
}, },
}) })
debugger
const iter = iterateOver( const iter = iterateOver(
obj.template.getMapOfValidSequenceTracks_forStudio(), obj.template.getMapOfValidSequenceTracks_forStudio(),
) )