Remove dangling debuggers
This commit is contained in:
parent
e05b724742
commit
01ccbb3d92
3 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@ module.exports = {
|
|||
rules: {
|
||||
'unused-imports/no-unused-imports': 'warn',
|
||||
'tsdoc/syntax': 'warn',
|
||||
'no-debugger': 'error',
|
||||
|
||||
'no-restricted-imports': [
|
||||
'error',
|
||||
{
|
||||
|
|
|
@ -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.',
|
||||
)
|
||||
|
|
|
@ -90,7 +90,6 @@ describe(`SheetObjectTemplate`, () => {
|
|||
},
|
||||
})
|
||||
|
||||
debugger
|
||||
const iter = iterateOver(
|
||||
obj.template.getMapOfValidSequenceTracks_forStudio(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue