more fixes
This commit is contained in:
parent
61dbadb51f
commit
cc43eddf66
@ -22,7 +22,8 @@ const addState = connect(
|
||||
}
|
||||
|
||||
function sendAbandon() {
|
||||
return ws.sendInstanceAbandon(instance.id);
|
||||
const id = instance ? instance.id : game.instance;
|
||||
return ws.sendInstanceAbandon(id);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@ -72,9 +72,8 @@ function JoinButtons(args) {
|
||||
Learn
|
||||
</button>
|
||||
<button
|
||||
class='discord-btn'
|
||||
onClick={() => document.location.assign('https://discord.gg/YJJgurM')}>
|
||||
|
||||
class='discord-btn'>
|
||||
<a href="https://discord.gg/YJJgurM" target="_blank" rel="noopener noreferrer"> </a>
|
||||
</button>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user