This commit is contained in:
2025-09-01 22:53:57 -04:00
parent b433a26fc6
commit fd342e7d47
24 changed files with 132 additions and 332 deletions

View File

@@ -1,5 +1,5 @@
import { createSignal, useContext } from "solid-js";
import { playerColor, profile } from "~/profile";
import { playerColor } from "~/profile";
import { TableContext } from "./Table";
import { Stylable } from "./toolbox";
import { createObservable, createObservableWithInit } from "~/fn";
@@ -31,7 +31,7 @@ export default (props: { playerKey: string } & Stylable) => {
class={`${props.class} w-20 h-20 rounded-full flex justify-center items-center`}
>
<p style={{ "font-size": "1em" }}>
{profile(props.playerKey)()?.name}
{table?.playerNames[props.playerKey]}
</p>
</div>
);