Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz committed Nov 14, 2024
1 parent 66f3adf commit 384905e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const RichTextEditor: React.FunctionComponent<EditorProps> = ({
]}
slotBefore={<Toolbar />}
slotAfter={
<ErrorToast error={error} onClose={() => setError(null)} />
<ErrorToast error={error} onClose={() => {setError(null)}} />
}
{...props}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const ImageButton: React.FunctionComponent = () => {
};

input.addEventListener("change", handleFileSelection);
input.addEventListener("cancel", () => setIsFilePickerOpen(false));
input.addEventListener("cancel", () => {setIsFilePickerOpen(false)});

input.click();
input.remove();
Expand Down

0 comments on commit 384905e

Please sign in to comment.