Skip to content

Commit a6bf0e5

Browse files
committed
lint
1 parent 4e568a4 commit a6bf0e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/CopilotModal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ class CopilotModal extends Component<Props, State> {
6565

6666
layout = {
6767
width: 0,
68-
height: 0
68+
height: 0,
6969
}
7070

71-
handleLayoutChange = ({nativeEvent: { layout }}) => {
71+
handleLayoutChange = ({ nativeEvent: { layout } }) => {
7272
this.layout = layout;
7373
}
7474

@@ -82,7 +82,7 @@ class CopilotModal extends Component<Props, State> {
8282

8383
return new Promise((resolve) => {
8484
const setLayout = () => {
85-
if(this.layout.width !== 0) {
85+
if (this.layout.width !== 0) {
8686
resolve(this.layout);
8787
} else {
8888
requestAnimationFrame(setLayout);

0 commit comments

Comments
 (0)