Run prettier and lint

This commit is contained in:
SleeplessOne1917 2023-06-20 21:12:48 -04:00
parent 838f722881
commit 9ffeb3fe51
2 changed files with 1 additions and 6 deletions

View file

@ -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) {

View file

@ -21,7 +21,7 @@
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"paths": { "paths": {
"@/*": ["/*"], "@/*": ["/*"],
"@utils/*": ["shared/utils/*"], "@utils/*": ["shared/utils/*"]
} }
}, },
"include": [ "include": [