Skip to content

Commit

Permalink
fix deployment issue and change title
Browse files Browse the repository at this point in the history
  • Loading branch information
Iseluin committed Dec 29, 2021
1 parent 1925318 commit 54af339
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"build": "set \"CI=false\" && react-scripts build",
"name": "my-app",
"version": "0.1.0",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Warehouse Management App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/components/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const List = (props) => {
//control argument needs to be figured out.
useEffect(() => {
fetchCards();
}, []);
}, [fetchCards]);

const handleClick = () => {
setShowForm((showForm) => !showForm);
Expand Down
2 changes: 1 addition & 1 deletion src/components/ListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ListView = (props) => {
});
};
fetchCards();
}, []);
}, [docId]);

return (
<Accordion style = {{ margin : '10px'}}>
Expand Down

0 comments on commit 54af339

Please sign in to comment.