();
useEffect(() => {
if (nickname) {
- apiClient.fileImageUrl('/static/assets/avatars/' + nickname + '.png').then(setAvatarSrc)
+ apiClient.fileImageUrl('/static/assets/avatars/' + nickname + '.png').then(setAvatarSrc);
}
- }, [nickname])
+ }, [nickname]);
const statusBadge = (
diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js
index 74008cf9..81ed25c6 100644
--- a/frontend/src/components/UserGenPage.js
+++ b/frontend/src/components/UserGenPage.js
@@ -296,10 +296,9 @@ class UserGenPage extends Component {
saveAsJson(this.state.nickname + '.json', this.createJsonFile())
@@ -317,10 +316,9 @@ class UserGenPage extends Component {
copyToClipboard(getCookie('robot_token')) &
@@ -375,10 +373,9 @@ class UserGenPage extends Component {