Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

chore/http-as-cdn-url #110

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions ui/sphere/src/model/model.component.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { useAnimations } from '@react-three/drei'
import { useGLTF } from '@react-three/drei'
import { useAnimations } from '@react-three/drei'
import { useGLTF } from '@react-three/drei'

import React from 'react'
import { FC } from 'react'
import { Group } from 'three'
import { useEffect } from 'react'
import { useRef } from 'react'
import { CDN_SPHERE_PATH } from '../sphere.constants'
import React from 'react'
import { FC } from 'react'
import { Group } from 'three'
import { useEffect } from 'react'
import { useRef } from 'react'

import { GLTFResult } from './model.interfaces'
import { GLTFAction } from './model.interfaces'
import { ModelProps } from './model.interfaces'
import { CDN_SPHERE_PATH } from '../sphere.constants'
import { GLTFResult } from './model.interfaces'
import { GLTFAction } from './model.interfaces'
import { ModelProps } from './model.interfaces'

export const Model: FC<ModelProps> = (props) => {
const group = useRef<Group>(null)
Expand Down
2 changes: 1 addition & 1 deletion ui/sphere/src/sphere.constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CDN_SPHERE_PATH = 'https://cdn.dream-team.tech/sphere.gltf'
export const CDN_SPHERE_PATH = 'http://cdn.dream-team.tech/sphere.gltf'
Loading