debug(v2): log WindowRenderer to check if windows mount
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a2f77e1061
commit
f9ae3d6b96
3 changed files with 5 additions and 2 deletions
|
|
@ -20,11 +20,14 @@ interface Props {
|
|||
export const WindowRenderer: React.FC<Props> = ({ characters, chatMessages, nearbyObjects, socket }) => {
|
||||
const { windows } = useWindowManager();
|
||||
|
||||
console.log('[WR] Rendering', windows.length, 'windows:', windows.map(w => w.id));
|
||||
|
||||
return (
|
||||
<>
|
||||
{windows.map(w => {
|
||||
const charName = w.charName ?? '';
|
||||
const prefix = w.id.split('-')[0];
|
||||
console.log('[WR] Window:', w.id, 'prefix:', prefix, 'charName:', charName);
|
||||
|
||||
switch (prefix) {
|
||||
case 'chat':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue