This: ```js if (typeof window === 'undefined') { throw Error('Chat should only render on the client.'); } ``` Should be this: ```js if (typeof document === 'undefined') { throw Error('Chat should only render on the client.'); } ``` Because Deno has window object.