Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Apr 12, 2024
1 parent 8b44f3c commit 35d0fb9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/src/markdown/markdown-textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ export function OpenFileButton(props: {
return (
<Button component="label" variant="outlined" startIcon={<FileOpen />}>
Open file
<input className="hidden" type="file" ref={props.inputRef} onChange={onFileChange} accept=".md,.markdown,.txt,text/*" />
<input
className="hidden"
type="file"
ref={props.inputRef}
onChange={onFileChange}
accept=".md,.markdown,.txt,text/*"
/>
</Button>
);
}
Expand Down

0 comments on commit 35d0fb9

Please sign in to comment.