From ee22562c8e49fc42fdfc6d513c92a7c7f580c057 Mon Sep 17 00:00:00 2001
From: Silas Bartha <silas@exvacuum.dev>
Date: Wed, 12 Feb 2025 00:44:55 -0500
Subject: finally fixed stupid preload issue lol

---
 src/App.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/App.jsx')

diff --git a/src/App.jsx b/src/App.jsx
index 81cd893..e154f5b 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -7,9 +7,9 @@ import React, { Suspense, useContext, useEffect, useRef, useState } from 'react'
 import { Physics } from '@react-three/rapier';
 import Sun from './components/sun';
 import * as everforest from './_everforest.module.scss'
-import { Bloom, EffectComposer, GodRays, LensFlare, Noise, Vignette } from '@react-three/postprocessing';
-import { AdditiveBlending } from 'three';
 import { useGLTF } from '@react-three/drei';
+import terrainModelURL from './assets/terrain.glb';
+import messageBubbleModelURL from './assets/message-bubble.glb';
 
 export const AppContext = React.createContext(null);
 
@@ -55,8 +55,8 @@ function App() {
             setMessages(data);
         });
     },[]);
-    useGLTF.preload('../assets/terrain.glb');
-    useGLTF.preload('../assets/message-bubble.glb');
+    useGLTF.preload(terrainModelURL);
+    useGLTF.preload(messageBubbleModelURL);
     return (
         <>
             <div className='dot' />
-- 
cgit v1.2.3

