dispatch("send-message", username)}>Send PM dispatch("invite-to-game", username)}> Invite to Game
dispatch("add-friend", username)}> Add Friend {#if blockedUsers.some((usr) => usr.username === username)} unblockUser(username)}> Unblock User {:else} blockUser(username)}> Block User {/if}
dispatch("view-history", user.ftId)} >View History
Rank: {user.rank}
Wins: {user.wins}
Looses: {user.looses}
Winrate: {user.winrate.toFixed(2)}%