diff --git a/src/gltf-component-mappings.js b/src/gltf-component-mappings.js index 4dbc694975..d12ebb954b 100644 --- a/src/gltf-component-mappings.js +++ b/src/gltf-component-mappings.js @@ -132,8 +132,8 @@ import { createElementEntity } from "./utils/jsx-entity"; import { setInitialNetworkedData } from "./utils/assign-network-ids"; /** @jsx createElementEntity */ createElementEntity; -// eslint-disable-next-line react/no-unknown-property AFRAME.GLTFModelPlus.registerComponent("media-frame", "media-frame", (el, _componentName, componentData) => { + // eslint-disable-next-line react/no-unknown-property const eid = renderAsEntity(APP.world, ); addComponent(APP.world, Networked, eid); diff --git a/src/react-components/chat-message.js b/src/react-components/chat-message.js index fab68bc14e..621371c223 100644 --- a/src/react-components/chat-message.js +++ b/src/react-components/chat-message.js @@ -50,8 +50,8 @@ function renderChatMessage(body, from, allowEmojiRender) { const EntryDom = ({ callback }) => (
{ const root = createRoot(el);