From acf41b45c3345dd8fa12e013b313afdfb0138a6d Mon Sep 17 00:00:00 2001
From: Silas Bartha <silas@exvacuum.dev>
Date: Tue, 11 Feb 2025 23:14:22 -0500
Subject: properly import assets

---
 src/components/chatbubble.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/components/chatbubble.jsx')

diff --git a/src/components/chatbubble.jsx b/src/components/chatbubble.jsx
index a9c0c85..8e1dfd1 100644
--- a/src/components/chatbubble.jsx
+++ b/src/components/chatbubble.jsx
@@ -6,6 +6,8 @@ import { Html } from '@react-three/drei';
 import { AppContext } from '../App';
 import Color from 'color';
 import { Vector3 } from 'three';
+import messageBubbleModelURL from '../../assets/message-bubble.glb';
+import { meta } from '@eslint/js';
 
 export default function ChatBubble({ id, position, text }) {
     const meshRef = useRef();
@@ -74,7 +76,7 @@ export default function ChatBubble({ id, position, text }) {
             }
         }
     }, -2);
-    const { nodes } = useGLTF('../assets/message-bubble.glb');
+    const { nodes } = useGLTF(messageBubbleModelURL);
 
     let color = Color(active ? everforest.blue : everforest.purple);
     if (activatable) {
-- 
cgit v1.2.3

