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