File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import React , { Suspense , useState } from 'react'
22import { Canvas } from '@react-three/fiber'
33import { OrbitControls } from '@react-three/drei'
4- import Model from '.. /Models/Scene'
5- import '.. /App.css'
6- import ColorPicker from './ColorPicker'
7- import Larmborghini from '.. /Models/Lamborghini'
4+ import Model from './Models/Scene'
5+ import './App.css'
6+ import ColorPicker from './Components/ ColorPicker'
7+ import Larmborghini from './Models/Lamborghini'
88import { proxy } from 'valtio'
99import { Loader , Environment } from "@react-three/drei/web"
1010
Original file line number Diff line number Diff line change 11import { useState } from 'react'
22import { TwitterPicker } from 'react-color'
3- import { state } from './App'
3+ import { state } from '.. /App'
44
55/**
66 * For switching color of car
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useRef } from 'react'
77import { useGLTF } from '@react-three/drei'
88import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader'
99import { useSnapshot } from 'valtio'
10- import { CarProps } from '../Components/ App'
10+ import { CarProps } from '../App'
1111
1212type GLTFResult = GLTF & {
1313 nodes : {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useRef } from 'react'
77import { useGLTF } from '@react-three/drei'
88import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader'
99import { useSnapshot } from 'valtio'
10- import { CarProps } from '../Components/ App'
10+ import { CarProps } from '../App'
1111
1212type GLTFResult = GLTF & {
1313 nodes : {
Original file line number Diff line number Diff line change 11import ReactDOM from 'react-dom'
22import './styles.css'
3- import { App } from './Components/ App'
3+ import { App } from './App'
44
55ReactDOM . render ( < App > </ App > , document . getElementById ( 'root' ) )
You can’t perform that action at this time.
0 commit comments