threads per ws maybe?
This commit is contained in:
@@ -4,8 +4,8 @@ function CrypPanel({ battle }) {
|
||||
if (!battle) return <div>...</div>;
|
||||
return (
|
||||
<div className="">
|
||||
{JSON.stringify(battle.a)}
|
||||
{JSON.stringify(battle.b)}
|
||||
<div>{JSON.stringify(battle.a)}</div>
|
||||
<div>{JSON.stringify(battle.b)}</div>
|
||||
<ul>
|
||||
{battle.log.map((l, i) => (<li key={i} >{l}</li>))}
|
||||
</ul>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const preact = require('preact');
|
||||
|
||||
function CrypPanel({ cryps, sendCombatPve }) {
|
||||
function CrypList({ cryps, sendCombatPve }) {
|
||||
if (!cryps) return <div>not ready</div>;
|
||||
const crypPanels = cryps.map(cryp => (
|
||||
|
||||
@@ -39,4 +39,4 @@ function CrypPanel({ cryps, sendCombatPve }) {
|
||||
);
|
||||
}
|
||||
|
||||
module.exports = CrypPanel;
|
||||
module.exports = CrypList;
|
||||
|
||||
Reference in New Issue
Block a user