Fixed invalid player issue
This commit is contained in:
parent
d052178da0
commit
ae961f05c3
@ -384,7 +384,7 @@ export default class Overlay extends Component {
|
|||||||
<div className={styles.loading}>
|
<div className={styles.loading}>
|
||||||
<h2>Loading...</h2>
|
<h2>Loading...</h2>
|
||||||
</div>
|
</div>
|
||||||
) : !isValidSteamId ? (
|
) : !isValidSteamId && !loadingPlayerData ? (
|
||||||
<div className={styles.invalidPlayer}>
|
<div className={styles.invalidPlayer}>
|
||||||
<h1>Invalid player, please visit the main page.</h1>
|
<h1>Invalid player, please visit the main page.</h1>
|
||||||
<Link href="/">
|
<Link href="/">
|
||||||
|
Reference in New Issue
Block a user