0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 11:48:37 +09:00

Update return format

This commit is contained in:
2021-09-24 17:25:26 +09:00
parent 971be8ab25
commit c957d791a6
3 changed files with 4 additions and 4 deletions

View File

@@ -16,9 +16,9 @@ function App (props) {
}, []);
if (data === undefined){
console.log("[Minecraft: UUID to player's name] データの取得に失敗しました。 / Failed to retrieve data.")
return <span></span>
return <></>
}else {
return <span>{data.username}</span>
return <>{data.username}</>
};
}