Skip to content

Commit

Permalink
Refactor package.json and package-lock.json to add axios dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmikanaveen committed Sep 18, 2024
1 parent ee0e250 commit 6a4e81e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions CRUDApp/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CRUDApp/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
Expand Down
1 change: 1 addition & 0 deletions CRUDApp/client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

import './App.css';
import {useState} from 'react';
import axios from 'axios';

function App() {
const[name, setName] = useState('');
Expand Down

0 comments on commit 6a4e81e

Please sign in to comment.