chore: lint warn on console.log (#1135)
This commit is contained in:
@@ -44,6 +44,7 @@ const startApplication: StartApplication = async function startApplication(
|
||||
enableUnfinishedFeatures: boolean,
|
||||
webSocketUrl: string,
|
||||
) {
|
||||
// eslint-disable-next-line no-console
|
||||
SNLog.onLog = console.log
|
||||
SNLog.onError = console.error
|
||||
let root: Root
|
||||
|
||||
@@ -122,7 +122,6 @@ class PanelResizer extends Component<Props, State> {
|
||||
}
|
||||
|
||||
override componentDidMount() {
|
||||
console.log(this.resizerElementRef.current)
|
||||
this.resizerElementRef.current?.addEventListener('dblclick', this.onDblClick)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user