Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
techmannih committed Jan 15, 2025
1 parent 14cabe9 commit 4f37a5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/download-fns/download-gltf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export const downloadGltf = async (
?.current as THREE.Object3D

if (!threeJsObject) {
throw new Error(
"To download the 3D model, please open the 3D view first",
)
throw new Error("To download the 3D model, please open the 3D view first")
}

const exporter = new GLTFExporter()
Expand Down

0 comments on commit 4f37a5a

Please sign in to comment.