Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrnoch committed May 17, 2022
1 parent 8ca55f1 commit 0f2761a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FileEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const FileEditor: FC<{ path: string }> = ({ path }) => {
const file = await invoke<File>("open_file", { path });
setContent(file.content || "");
} catch (err) {

alert("An error happened opening " + path);
}
setLoading(false);
Expand Down

0 comments on commit 0f2761a

Please sign in to comment.