mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
🎨 Autoformat code
This commit is contained in:
parent
823a58f98a
commit
cd6912f0dd
|
@ -67,9 +67,7 @@ export class Lightbox extends React.Component<Props, {}> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public render() {
|
public render() {
|
||||||
const {
|
const { imageURL } = this.props;
|
||||||
imageURL,
|
|
||||||
} = this.props;
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={styles.container}
|
style={styles.container}
|
||||||
|
|
|
@ -195,7 +195,7 @@ export class Quote extends React.Component<Props, {}> {
|
||||||
authorColor,
|
authorColor,
|
||||||
'quoted-message',
|
'quoted-message',
|
||||||
isFromMe ? 'from-me' : null,
|
isFromMe ? 'from-me' : null,
|
||||||
!onClick ? 'no-click' : null,
|
!onClick ? 'no-click' : null
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -212,6 +212,6 @@ parent.emoji.signalReplace = (html: string): string => {
|
||||||
return html.replace(
|
return html.replace(
|
||||||
/🔥/g,
|
/🔥/g,
|
||||||
'<img src="node_modules/emoji-datasource-apple/img/apple/64/1f525.png"' +
|
'<img src="node_modules/emoji-datasource-apple/img/apple/64/1f525.png"' +
|
||||||
'class="emoji" data-codepoints="1f525" title=":fire:">',
|
'class="emoji" data-codepoints="1f525" title=":fire:">'
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue