Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadpool2e committed Aug 20, 2023
1 parent 3bb844a commit 16a8a54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
- type: web
name: my-react-app
env: python
buildCommand: npm install
startCommand: npm start
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ function App() {
inputRef.current.style.display = "block";
}
window.onclick = function (event) {
if (event.target == inputRef.current) {
if (event.target === inputRef.current) {
inputRef.current.style.display = "none";
}
if (event.target == editRef.current) {
if (event.target === editRef.current) {
editRef.current.style.display = "none";
}
};
Expand Down

0 comments on commit 16a8a54

Please sign in to comment.