scaling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createSignal, useContext } from "solid-js";
|
||||
import { createSignal, onMount, useContext } from "solid-js";
|
||||
import { playerColor } from "~/profile";
|
||||
import { TableContext } from "./Table";
|
||||
import { Stylable } from "./toolbox";
|
||||
@@ -16,6 +16,8 @@ export default (props: { playerKey: string } & Stylable) => {
|
||||
|
||||
const game = useContext(GameContext);
|
||||
|
||||
onMount(() => console.log("Player mounted"));
|
||||
|
||||
return (
|
||||
<div
|
||||
id={`player-${props.playerKey}`}
|
||||
|
||||
Reference in New Issue
Block a user