Skip to content

Commit

Permalink
fix: use default import for Stats.js (#1877)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkocdko committed Mar 17, 2024
1 parent acfae48 commit 4bfa879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Stats.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react'
import { addEffect, addAfterEffect } from '@react-three/fiber'
import * as StatsImpl from 'stats.js'
// @ts-ignore
import StatsImpl from 'stats.js'
import { useEffectfulState } from '../helpers/useEffectfulState'

type Props = {
Expand Down

0 comments on commit 4bfa879

Please sign in to comment.