Skip to content

Commit

Permalink
👷 Improved UI
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jebarson committed Mar 21, 2023
1 parent 0fdb025 commit 769eec2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/helpers/UserCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function UserCard({ gmail, username, data: user_Data, socket }) {
isClosable: true,
position: "bottom",
});
await sleep(3000);
await sleep(500);
ADDFRIEND(user_Data);
window.location.href = "/chat";
} catch (err) {
Expand Down
36 changes: 36 additions & 0 deletions client/components/views/StatisticsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,42 @@ export default function StatisticsView() {
},
],
};

const output = {
total: {
words: 4,
edited: 2,
deleted: 2,
tot_Char: 13,
longest: 5,
long_message: "hello",
unique: 4,
messages: 4,
average: 4,
},
Dani: {
words: 2,
edited: 1,
deleted: 0,
tot_Char: 7,
longest: 5,
long_message: "hello",
unique: 2,
messages: 2,
average: 4,
},
sample1: {
words: 2,
edited: 1,
deleted: 2,
tot_Char: 6,
longest: 3,
long_message: "hoi",
unique: 2,
messages: 2,
average: 3,
},
};
return (
<>
<Tooltip placement="right-end" hasArrow label="Profile View">
Expand Down

0 comments on commit 769eec2

Please sign in to comment.