diff --git a/frontend/index.html b/frontend/index.html index 1f70938..b03b4c5 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,6 +4,7 @@ + ChitChat diff --git a/frontend/src/pages/UsersList.jsx b/frontend/src/pages/UsersList.jsx index cb78eaa..ff41441 100644 --- a/frontend/src/pages/UsersList.jsx +++ b/frontend/src/pages/UsersList.jsx @@ -1,22 +1,61 @@ -import React, { useEffect, useState } from "react"; +import React from "react"; function UsersList() { - const [users, setUsers] = useState([]); + // const [users, setUsers] = useState([]); - useEffect(() => { - fetch("http://127.0.0.1:9000/api/profiles/") - .then((response) => response.json()) - .then((data) => setUsers(data)); - }, []); + // useEffect(() => { + // fetch("http://127.0.0.1:9000/api/profiles/") + // .then((response) => response.json()) + // .then((data) => setUsers(data)); + // }, []); return ( -
-

Users

- +
+
+
+
W
+ + +
John Doe
+
+
); }