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:
@@ -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}</>
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user