mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 05:10:53 +01:00
Import log instead of using it off of window
This commit is contained in:
@@ -35,6 +35,7 @@ import {
|
||||
import { SignalClipboard } from '../quill/signal-clipboard';
|
||||
import { DirectionalBlot } from '../quill/block/blot';
|
||||
import { getClassNamesFor } from '../util/getClassNamesFor';
|
||||
import * as log from '../logging/log';
|
||||
|
||||
Quill.register('formats/emoji', EmojiBlot);
|
||||
Quill.register('formats/mention', MentionBlot);
|
||||
@@ -231,7 +232,7 @@ export function CompositionInput(props: Props): React.ReactElement {
|
||||
|
||||
const [text, mentions] = getTextAndMentions();
|
||||
|
||||
window.log.info(
|
||||
log.info(
|
||||
`CompositionInput: Submitting message ${timestamp} with ${mentions.length} mentions`
|
||||
);
|
||||
onSubmit(text, mentions, timestamp);
|
||||
|
||||
Reference in New Issue
Block a user