Skip to content

Commit

Permalink
Merge pull request threlte#993 from threlte/next-cleanup
Browse files Browse the repository at this point in the history
chore: cleanup
  • Loading branch information
grischaerbe authored Jun 19, 2024
2 parents 5f4240d + e8bf233 commit 959b7cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-comics-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@threlte/extras": patch
---

Add lang to module block, cleanup imports
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script context="module">
<script context="module" lang="ts">
import { type Stage, T, useTask, useThrelte } from '@threlte/core'
let stage: Stage | undefined
Expand Down
6 changes: 3 additions & 3 deletions packages/extras/src/lib/components/Gizmo/Gizmo.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { HierarchicalObject, T, useTask, useThrelte } from '@threlte/core'
import { onDestroy, onMount } from 'svelte'
import { onMount } from 'svelte'
import {
CanvasTexture,
CapsuleGeometry,
Expand All @@ -11,12 +11,12 @@
Quaternion,
Raycaster,
Scene,
type Sprite,
Vector2,
Vector3,
Vector4,
type ColorRepresentation,
type Intersection
type Intersection,
type Sprite
} from 'three'
import type { GizmoEvents, GizmoProps, GizmoSlots } from './Gizmo'
Expand Down

0 comments on commit 959b7cd

Please sign in to comment.