mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
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?.();
|
||||
}
|
||||
|
||||
function handlePreviewToggle(i: PostForm, event: any) {
|
||||
event.preventDefault();
|
||||
i.setState({ previewMode: !i.state.previewMode });
|
||||
}
|
||||
|
||||
function handleImageUploadPaste(i: PostForm, event: any) {
|
||||
const image = event.clipboardData.files[0];
|
||||
if (image) {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"noFallthroughCasesInSwitch": true,
|
||||
"paths": {
|
||||
"@/*": ["/*"],
|
||||
"@utils/*": ["shared/utils/*"],
|
||||
"@utils/*": ["shared/utils/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
|
|
Loading…
Reference in a new issue