moved logout to bottom instead of hogging matchmaking animation
This commit is contained in:
@@ -232,6 +232,10 @@ export default function Player({
|
||||
</motion.div>
|
||||
)}
|
||||
|
||||
<div style={{ marginTop: "24px" }}>
|
||||
<Leaderboard />
|
||||
</div>
|
||||
|
||||
<motion.button
|
||||
whileTap={{ scale: 0.95 }}
|
||||
onClick={logout}
|
||||
@@ -248,9 +252,6 @@ export default function Player({
|
||||
Logout
|
||||
</motion.button>
|
||||
|
||||
<div style={{ marginTop: "24px" }}>
|
||||
<Leaderboard />
|
||||
</div>
|
||||
</motion.div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user