aboutsummaryrefslogtreecommitdiff
path: root/src/components/chatbubble.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chatbubble.jsx')
-rw-r--r--src/components/chatbubble.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/chatbubble.jsx b/src/components/chatbubble.jsx
index 04a8147..9494ecb 100644
--- a/src/components/chatbubble.jsx
+++ b/src/components/chatbubble.jsx
@@ -6,7 +6,7 @@ import { Html } from '@react-three/drei';
import { AppContext } from '../App';
import Color from 'color';
import { Vector3 } from 'three';
-const messageBubbleModelURL = new URL('../assets/message-bubble.glb', import.meta.url).href
+import messageBubbleModelURL from '../assets/message-bubble.glb';
export default function ChatBubble({ id, position, text }) {
const meshRef = useRef();