Merge branch 'release/1.12.2' of ssh://git.mnml.gg:40022/~/mnml into release/1.12.2
This commit is contained in:
commit
f52d2e409a
@ -115,7 +115,6 @@ section {
|
||||
font-size: 1.5em;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: 5em;
|
||||
}
|
||||
|
||||
letter-spacing: 0.25em;
|
||||
|
||||
@ -221,13 +221,15 @@ function Play(args) {
|
||||
<div>
|
||||
<h1 class="credits">¤ {account.balance}</h1>
|
||||
<div class='list'>
|
||||
{subscription}
|
||||
<button
|
||||
onClick={() => setNav('shop')}
|
||||
class="yellow-btn"
|
||||
role="link">
|
||||
Get Credits
|
||||
</button>
|
||||
<figure>{subscription}</figure>
|
||||
<figure>
|
||||
<button
|
||||
onClick={() => setNav('shop')}
|
||||
class="yellow-btn"
|
||||
role="link">
|
||||
Get Credits
|
||||
</button>
|
||||
</figure>
|
||||
</div>
|
||||
<div>
|
||||
Join our Discord server to find opponents and talk to the devs. <br />
|
||||
|
||||
@ -106,19 +106,19 @@ function Reshape(args) {
|
||||
<div>
|
||||
<h1 class="credits">¤ {account.balance}</h1>
|
||||
<div class='list'>
|
||||
{subscription}
|
||||
<button
|
||||
onClick={() => setNav('shop')}
|
||||
class="yellow-btn"
|
||||
role="link">
|
||||
Get Credits
|
||||
</button>
|
||||
<div id="error-message"></div>
|
||||
</div>
|
||||
<div class='list'>
|
||||
<figure>{subscription}</figure>
|
||||
<figure>
|
||||
<button
|
||||
onClick={() => setNav('shop')}
|
||||
class="yellow-btn"
|
||||
role="link">
|
||||
Get Credits
|
||||
</button>
|
||||
</figure>
|
||||
{shop.owned.map(useMtx)}
|
||||
{shop.available.map(availableMtx)}
|
||||
</div>
|
||||
<div id="error-message"></div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@ -107,7 +107,6 @@ function registerEvents(store) {
|
||||
}
|
||||
|
||||
function setAuthenticated(account) {
|
||||
|
||||
if (account && window.Notification) {
|
||||
window.Notification.requestPermission();
|
||||
}
|
||||
@ -116,9 +115,6 @@ function registerEvents(store) {
|
||||
LogRocket.identify(account.id, account);
|
||||
}
|
||||
|
||||
const { tutorial, ws } = store.getState();
|
||||
if (tutorial) ws.sendInstancePractice();
|
||||
|
||||
store.dispatch(actions.setAccount(account));
|
||||
store.dispatch(actions.setAuthenticated(true));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user