Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Mar 27, 2024
1 parent 18375e4 commit affd17c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion playground/src/components/DynamicModel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const { isCube } = useControls({
})
const model = computed(() => isCube.value ? nodes.Cube : AkuAku)
</script>

<template>
Expand Down
4 changes: 2 additions & 2 deletions playground/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import {
perfRoutes,
eventsRoutes,
cameraRoutes,
modelsRoutes,
modelsRoutes,
} from '../router/routes'
const sections = [
{ icon: '📦', title: 'Basic', routes: basicRoutes },
{ icon: '🏎️', title: 'Perf', routes: perfRoutes },
{ icon: '📣', title: 'Events', routes: eventsRoutes },
{ icon: '📷', title: 'Camera', routes: cameraRoutes },
{ icon: '🐇', title: 'Models', routes: modelsRoutes }
{ icon: '🐇', title: 'Models', routes: modelsRoutes },
]
</script>

Expand Down
4 changes: 1 addition & 3 deletions playground/src/pages/models/PrimitivesModel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ const gl = {
}
useControls('fpsgraph')
</script>

<template>
<TresLeches />
<TresCanvas
v-bind="gl"
ref="canvas"
window-size
class="awiwi"
:style="{ background: '#008080' }"
Expand All @@ -44,7 +42,7 @@ useControls('fpsgraph')
/>
<OrbitControls />

<Suspense>
<Suspense>
<DynamicModel />
</Suspense>
<TresAxesHelper :args="[1]" />
Expand Down
2 changes: 1 addition & 1 deletion playground/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const routes = [
...perfRoutes,
...eventsRoutes,
...cameraRoutes,
...modelsRoutes
...modelsRoutes,
/* {
path: '/',
name: 'Home',
Expand Down
4 changes: 2 additions & 2 deletions playground/src/router/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { modelsRoutes } from './models';
import { modelsRoutes } from './models'
import { cameraRoutes } from './cameras'
import { eventsRoutes } from './events'
import { basicRoutes } from './basic'
Expand All @@ -9,5 +9,5 @@ export {
perfRoutes,
eventsRoutes,
cameraRoutes,
modelsRoutes
modelsRoutes,
}

0 comments on commit affd17c

Please sign in to comment.