clear mtxActive on nav and if you join game. put shop before reshape
This commit is contained in:
@@ -40,7 +40,7 @@ const addState = connect(
|
||||
dispatch(actions.setItemEquip(null));
|
||||
dispatch(actions.setItemUnequip([]));
|
||||
dispatch(actions.setVboxHighlight([]));
|
||||
|
||||
dispatch(actions.setMtxActive(null));
|
||||
return dispatch(actions.setNav(place));
|
||||
}
|
||||
|
||||
@@ -83,16 +83,16 @@ function Header(args) {
|
||||
class={`login-btn ${nav === 'play' ? 'highlight' : ''}`}>
|
||||
Play
|
||||
</button>
|
||||
<button
|
||||
onClick={() => navTo('reshape')}
|
||||
class={`login-btn ${nav === 'reshape' ? 'highlight' : ''}`}>
|
||||
Reshape
|
||||
</button>
|
||||
<button
|
||||
onClick={() => navTo('shop')}
|
||||
class={`login-btn ${nav === 'shop' ? 'highlight' : ''}`}>
|
||||
Shop
|
||||
</button>
|
||||
<button
|
||||
onClick={() => navTo('reshape')}
|
||||
class={`login-btn ${nav === 'reshape' ? 'highlight' : ''}`}>
|
||||
Reshape
|
||||
</button>
|
||||
<button
|
||||
onClick={accountClick}
|
||||
class={`login-btn ${nav === 'account' ? 'highlight' : ''}`}>
|
||||
|
||||
@@ -41,7 +41,8 @@ function Shop(args) {
|
||||
<b>Subscriptions</b> grant extra benefits:
|
||||
<ul>
|
||||
<li>¤150 per month</li>
|
||||
<li>More community features in the future including account icons and chat wheel</li>
|
||||
<li>Account icons</li>
|
||||
<li>Chat wheel</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user