Skip to content

Commit 40f7d93

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update DashHome.jsx
Co-Authored-By: JehanKandy <jehankandy@gmail.com> Co-Authored-By: Anupa Gamage <125038143+Anupa1998@users.noreply.github.com>
1 parent 16b76bc commit 40f7d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Dashboard/DashHome.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const DashHome = () => {
2525
const [CountUser, SetCountUser] = useState([])
2626

2727
useEffect(() => {
28-
axios.get('http://localhost:5000/auth/CountUsers')
28+
axios.get('http://localhost:5000/user/CountUsers')
2929
.then(res => SetCountUser(res.data.Result))
3030
.catch(err => console.log(err))
3131
}, [])

0 commit comments

Comments
 (0)