Archived
1
0

SQL related changes

This commit is contained in:
2022-12-30 18:55:12 -06:00
parent 91e70f8a34
commit 9bc1abe9a5
3 changed files with 6 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ function PersonalInfo() {
const getData = async () => {
const response = await fetch("/sui/api/personaldata");
const data = await response.json();
setState(data);
setState(data[0]);
};
useEffect(() => {