Run prettier and lint
This commit is contained in:
parent
838f722881
commit
9ffeb3fe51
2 changed files with 1 additions and 6 deletions
|
@ -156,11 +156,6 @@ function handleCancel(i: PostForm) {
|
||||||
i.props.onCancel?.();
|
i.props.onCancel?.();
|
||||||
}
|
}
|
||||||
|
|
||||||
function handlePreviewToggle(i: PostForm, event: any) {
|
|
||||||
event.preventDefault();
|
|
||||||
i.setState({ previewMode: !i.state.previewMode });
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleImageUploadPaste(i: PostForm, event: any) {
|
function handleImageUploadPaste(i: PostForm, event: any) {
|
||||||
const image = event.clipboardData.files[0];
|
const image = event.clipboardData.files[0];
|
||||||
if (image) {
|
if (image) {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["/*"],
|
"@/*": ["/*"],
|
||||||
"@utils/*": ["shared/utils/*"],
|
"@utils/*": ["shared/utils/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
Loading…
Reference in a new issue