From 6d29f99f6c3b70b75e5995bc70c4dd2a87d456df Mon Sep 17 00:00:00 2001 From: dinomut1 Date: Mon, 29 Jan 2024 17:27:41 -0500 Subject: [PATCH] fix node editor --- src/editors/BubbleComponentNodeEditor.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/editors/BubbleComponentNodeEditor.tsx b/src/editors/BubbleComponentNodeEditor.tsx index 6780ca7..fec092e 100644 --- a/src/editors/BubbleComponentNodeEditor.tsx +++ b/src/editors/BubbleComponentNodeEditor.tsx @@ -1,7 +1,6 @@ import React from 'react' import { EditorComponentType, commitProperty, updateProperty } from '@etherealengine/editor/src/components/properties/Util' -import { getComponent, useComponent } from '@etherealengine/engine/src/ecs/functions/ComponentFunctions' import { BubbleEmitterComponent } from '../components/BubbleEmitterComponent' import NodeEditor from '@etherealengine/editor/src/components/properties/NodeEditor' import InputGroup from '@etherealengine/editor/src/components/inputs/InputGroup' @@ -9,7 +8,7 @@ import { ColorInput } from '@etherealengine/editor/src/components/inputs/ColorIn import AlbumIcon from '@mui/icons-material/Album'; import NumericInput from '@etherealengine/editor/src/components/inputs/NumericInput' import Vector3Input from '@etherealengine/editor/src/components/inputs/Vector3Input' - +import { useComponent } from '@etherealengine/ecs' export const BubbleNodeEditor: EditorComponentType = (props) => { const emitterComponent = useComponent(props.entity, BubbleEmitterComponent)