Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Apr 12, 2024
1 parent 5cecff6 commit 2a2797c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
![](https://github.com/Kacperacy/RustEdit/assets/51511929/9f276673-9066-4384-b5a6-4891accd3f98)
# Rust-Edit

<center>
<img src="./src/assets/logo.png" width="300"/>
</center>
Binary file added src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/components/OpenFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const OpenFile: React.FC = () => {
const handleFileOpen = () => {
const input = document.createElement("input");
input.type = "file";
input.accept = ".txt"; // Specify the file types you want to allow
input.onchange = (event) => {
if (!event.target) return;
const fileInput = event.target as HTMLInputElement;
Expand Down

0 comments on commit 2a2797c

Please sign in to comment.